From 66fa0a9220686717edc678630949bb9b748d0538 Mon Sep 17 00:00:00 2001 From: imbytecat Date: Fri, 30 Jan 2026 20:58:15 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E5=88=87=E6=8D=A2CPA=20API=E5=9F=BA?= =?UTF-8?q?=E5=9C=B0=E5=9D=80=E4=B8=BA=E6=9C=AC=E5=9C=B0IP=E4=BB=A5?= =?UTF-8?q?=E6=94=AF=E6=8C=81=E8=B0=83=E8=AF=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 将CPA相关API的基地址从远程服务器切换为本地IP地址,以支持本地调试和开发。 --- opencode.jsonc | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/opencode.jsonc b/opencode.jsonc index 8b1eeb0..98d7764 100644 --- a/opencode.jsonc +++ b/opencode.jsonc @@ -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 } } } },