Skip to content

fix: 修复 OpenRouter 余额获取 403 错误#2395

Open
one-ccs wants to merge 1 commit into
songquanpeng:mainfrom
one-ccs:fix/openrouter-balance-403
Open

fix: 修复 OpenRouter 余额获取 403 错误#2395
one-ccs wants to merge 1 commit into
songquanpeng:mainfrom
one-ccs:fix/openrouter-balance-403

Conversation

@one-ccs

@one-ccs one-ccs commented May 18, 2026

Copy link
Copy Markdown

变更描述:
默认 /api/v1/credits 接口需要管理秘钥才能获取余额,403 错误时降级使用 /api/v1/key 让普通秘钥也能正确获取余额。

我已确认该 PR 已自测通过,相关截图如下:

失败截图:
image

成功截图:
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant