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