Skip to content
Discussion options

You must be logged in to vote

OpenAI兼容供应商是个例外。其他的都不能提供名称,因为名称没有任何地方用到,你可以在配置中增加注释来实现名称的功能。
多个密钥是你没有掌握正确的方法:

claude-api-key:
  - api-key: "dummy-key-1"
    base-url: "https://api.example.com/v1"
    proxy-url: ""
  - api-key: "dummy-key-2"
    base-url: "https://api.example.com/v1"
    proxy-url: ""
  - api-key: "dummy-key-3"
    base-url: "https://api.example.com/v1"
    proxy-url: ""

这样就可以设置多个api密钥。

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by luispater
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #2319 on March 24, 2026 18:09.