@okaying 在 为什么 claude code 始终在访问 主机: api.anthropic.com:443? 中发帖
背景
注册了 nvidia , win11
想在claude code中试下 nvidia的模型
做了如下配置
cc-switcher
[image]
[image]
{
"env": {
"ANTHROPIC_BASE_URL": "http://127.0.0.1:15721",
"ANTHROPIC_AUTH_TOKEN": "PROXY_MANAGED"
}
}
[image]
启动Claude code
[PixPin2026-04-2900-08-41]
问你是什么模型
[image]
[image]
从clash verge中看到 claude.exe 还是使用了 主机 : api.anthropic.com:443
从cc-switcher的log看
>>> 请求 URL: https://integrate....