Merge pull request #997 from SsageParuders/refactor/bedrock-channel-merge

refactor: merge bedrock-apikey into unified bedrock channel with auth_mode
This commit is contained in:
Wesley Liddick
2026-03-14 17:48:01 +08:00
committed by GitHub
20 changed files with 347 additions and 471 deletions

View File

@@ -953,7 +953,7 @@ const makeQuotaBar = (
}
const hasApiKeyQuota = computed(() => {
if (props.account.type !== 'apikey') return false
if (props.account.type !== 'apikey' && props.account.type !== 'bedrock') return false
return (
(props.account.quota_daily_limit ?? 0) > 0 ||
(props.account.quota_weekly_limit ?? 0) > 0 ||