forked from imbytecat/opencode-config
feat: 切换CPA API基地址为本地IP以支持调试
- 将CPA相关API的基地址从远程服务器切换为本地IP地址,以支持本地调试和开发。
This commit is contained in:
@@ -15,7 +15,7 @@
|
||||
"name": "CPA Anthropic",
|
||||
"npm": "@ai-sdk/anthropic",
|
||||
"options": {
|
||||
"baseURL": "https://cpa.furtherverse.com/v1",
|
||||
"baseURL": "http://10.0.1.1:8317/v1",
|
||||
"apiKey": "{env:CPA_API_KEY}"
|
||||
},
|
||||
"models": {
|
||||
@@ -43,7 +43,7 @@
|
||||
"name": "CPA Google",
|
||||
"npm": "@ai-sdk/google",
|
||||
"options": {
|
||||
"baseURL": "https://cpa.furtherverse.com/v1beta",
|
||||
"baseURL": "http://10.0.1.1:8317/v1beta",
|
||||
"apiKey": "{env:CPA_API_KEY}"
|
||||
},
|
||||
"models": {
|
||||
@@ -71,7 +71,7 @@
|
||||
"name": "CPA OpenAI",
|
||||
"npm": "@ai-sdk/openai",
|
||||
"options": {
|
||||
"baseURL": "https://cpa.furtherverse.com/v1",
|
||||
"baseURL": "http://10.0.1.1:8317/v1",
|
||||
"apiKey": "{env:CPA_API_KEY}",
|
||||
"setCacheKey": true
|
||||
},
|
||||
@@ -83,7 +83,7 @@
|
||||
"input": ["text", "image"],
|
||||
"output": ["text"]
|
||||
},
|
||||
"limit": { "context": 400000, "output": 128000 },
|
||||
"limit": { "context": 400000, "output": 128000 }
|
||||
},
|
||||
"gpt-5.2-codex": {
|
||||
"name": "GPT-5.2-Codex",
|
||||
@@ -92,7 +92,7 @@
|
||||
"input": ["text", "image"],
|
||||
"output": ["text"]
|
||||
},
|
||||
"limit": { "context": 400000, "output": 128000 },
|
||||
"limit": { "context": 400000, "output": 128000 }
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user