opencode-codebuddy-external-auth 1.0.5 → 1.0.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/plugin.js +3 -2
- package/package.json +1 -1
package/dist/plugin.js
CHANGED
|
@@ -8,9 +8,10 @@ const PROVIDER_ID = "codebuddy-external";
|
|
|
8
8
|
const CONFIG = {
|
|
9
9
|
// IOA 版本使用 copilot.tencent.com
|
|
10
10
|
serverUrl: "https://copilot.tencent.com",
|
|
11
|
-
// API 端点 - IOA
|
|
11
|
+
// API 端点 - CodeBuddy IOA 直接使用 endpoint 作为 baseURL
|
|
12
12
|
// OpenAI SDK 会自动追加 /chat/completions
|
|
13
|
-
|
|
13
|
+
// 注意:不需要 /v1 前缀,CodeBuddy 服务端直接接收 /chat/completions
|
|
14
|
+
apiBaseUrl: "https://copilot.tencent.com",
|
|
14
15
|
// 平台标识
|
|
15
16
|
platform: "CLI",
|
|
16
17
|
appVersion: "2.37.20",
|