forked from imbytecat/opencode-config
feat: 切换Anthropic网关为本地测试地址
- 切换Anthropic网关的baseURL为本地测试地址并注释掉远程地址
This commit is contained in:
@@ -30,8 +30,8 @@
|
|||||||
"name": "Anthropic Gateway",
|
"name": "Anthropic Gateway",
|
||||||
"npm": "@ai-sdk/anthropic",
|
"npm": "@ai-sdk/anthropic",
|
||||||
"options": {
|
"options": {
|
||||||
"baseURL": "https://cpa.services.sh.cn:8443/v1",
|
// "baseURL": "https://cpa.services.sh.cn:8443/v1",
|
||||||
// "baseURL": "http://10.0.1.1:8317/v1",
|
"baseURL": "http://10.0.1.1:8317/v1",
|
||||||
"apiKey": "{env:CPA_API_KEY}"
|
"apiKey": "{env:CPA_API_KEY}"
|
||||||
},
|
},
|
||||||
"models": {
|
"models": {
|
||||||
|
|||||||
Reference in New Issue
Block a user