ccNexus icon indicating copy to clipboard operation
ccNexus copied to clipboard

需要AUTH_TOKEN的中转站连接不上吗

Open WXY8888 opened this issue 1 year ago • 1 comments

Image Image

像Agent Router、AnyRouter这样的中转站需要AUTH_TOKEN 无法连接。直接配置claude是可以连接上的。 中转站要求配置 `//设置 AgentRouter 的 API 基础 URL

$env:ANTHROPIC_BASE_URL="https://agentrouter.org/"

//设置您的 AgentRouter API 密钥, 可以从 https://agentrouter.org/console/token 获取

$env:ANTHROPIC_AUTH_TOKEN="sk-xxx" $env:ANTHROPIC_API_KEY="sk-xxx"`

WXY8888 avatar Nov 29 '25 06:11 WXY8888

这是站点限制了只允许在Claude Code中使用,直接测试无效。直接用就好了。

lich0821 avatar Dec 02 '25 15:12 lich0821