opencode-codebuddy-external-auth 1.0.4 → 1.0.5
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,8 +8,9 @@ const PROVIDER_ID = "codebuddy-external";
|
|
|
8
8
|
const CONFIG = {
|
|
9
9
|
// IOA 版本使用 copilot.tencent.com
|
|
10
10
|
serverUrl: "https://copilot.tencent.com",
|
|
11
|
-
// API 端点 -
|
|
12
|
-
|
|
11
|
+
// API 端点 - IOA 版本不需要 /plugin 前缀
|
|
12
|
+
// OpenAI SDK 会自动追加 /chat/completions
|
|
13
|
+
apiBaseUrl: "https://copilot.tencent.com/v1",
|
|
13
14
|
// 平台标识
|
|
14
15
|
platform: "CLI",
|
|
15
16
|
appVersion: "2.37.20",
|