@capybara-hq/plugin-openai-compatible 0.1.0-rc.1 → 0.1.0-rc.3
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/.capybara-plugin/plugin.json +3 -2
- package/dist/index.mjs +8 -3
- package/icon.svg +1 -0
- package/package.json +1 -1
|
@@ -1,19 +1,20 @@
|
|
|
1
1
|
{
|
|
2
2
|
"schemaVersion": 1,
|
|
3
3
|
"name": "openai-compatible",
|
|
4
|
-
"version": "0.1.0-rc.
|
|
4
|
+
"version": "0.1.0-rc.3",
|
|
5
5
|
"publisher": "Capybara",
|
|
6
6
|
"description": "Model provider (model-provider@2) for Chat Completions-compatible services (vLLM, DeepSeek, Qwen, ...) using the official openai SDK",
|
|
7
7
|
"displayName": {
|
|
8
8
|
"zh": "OpenAI 兼容模型",
|
|
9
9
|
"en": "OpenAI-compatible models"
|
|
10
10
|
},
|
|
11
|
+
"icon": "./icon.svg",
|
|
11
12
|
"homepage": "https://github.com/capybara-hq/plugins/tree/main/plugins/openai-compatible#readme",
|
|
12
13
|
"extension": {
|
|
13
14
|
"entry": "./dist/index.mjs",
|
|
14
15
|
"manifest": {
|
|
15
16
|
"name": "openai-compatible",
|
|
16
|
-
"version": "0.1.0-rc.
|
|
17
|
+
"version": "0.1.0-rc.3",
|
|
17
18
|
"sdk": "^0.1.0-rc.0",
|
|
18
19
|
"provides": [
|
|
19
20
|
"model-provider@2"
|
package/dist/index.mjs
CHANGED
|
@@ -23154,8 +23154,13 @@ var generic = {
|
|
|
23154
23154
|
};
|
|
23155
23155
|
var deepseek = {
|
|
23156
23156
|
name: "deepseek",
|
|
23157
|
-
//
|
|
23158
|
-
|
|
23157
|
+
// The API accepts `role: "system"` anywhere in `messages`, but the model does not keep a
|
|
23158
|
+
// mid-conversation system message in position: the service gathers them ahead of the
|
|
23159
|
+
// conversation, so a live probe on deepseek-v4-pro (2026-11-07) with notices after an assistant
|
|
23160
|
+
// turn saw nothing after that turn (0/6 runs right, thinking on and off). Sent as in-place
|
|
23161
|
+
// `[system] ` user turns (like generic / ark) it quoted them in order (6/6). Consecutive user
|
|
23162
|
+
// messages are accepted (test/live/deepseek-system-notices.live.test.ts).
|
|
23163
|
+
midConversationSystem: false,
|
|
23159
23164
|
// 磁盘缓存自动生效
|
|
23160
23165
|
caching: true,
|
|
23161
23166
|
pdfInput: false,
|
|
@@ -23693,7 +23698,7 @@ function createOpenAICompatibleProvider(opts) {
|
|
|
23693
23698
|
}
|
|
23694
23699
|
var index_default = defineExtension({
|
|
23695
23700
|
name: PROVIDER,
|
|
23696
|
-
version: "0.1.0-rc.
|
|
23701
|
+
version: "0.1.0-rc.3",
|
|
23697
23702
|
sdk: "^0.1.0-rc.0",
|
|
23698
23703
|
provides: [MODEL_PROVIDER_EXTENSION_POINT_V2],
|
|
23699
23704
|
// 不声明 network:访问的端点全部由管理员在部署配置里给出,没有固定域名
|
package/icon.svg
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="#3D3D3A" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round"><title>OpenAI-compatible models</title><style>@media (prefers-color-scheme:dark){svg{stroke:#D6D5D0}}</style><path d="M8 4c-1.6 0-2 .8-2 2.5V10c0 1.2-.8 2-2 2 1.2 0 2 .8 2 2v3.5c0 1.7.4 2.5 2 2.5M16 4c1.6 0 2 .8 2 2.5V10c0 1.2.8 2 2 2-1.2 0-2 .8-2 2v3.5c0 1.7-.4 2.5-2 2.5M9.5 10.25h5M9.5 13.75h5"/></svg>
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@capybara-hq/plugin-openai-compatible",
|
|
3
|
-
"version": "0.1.0-rc.
|
|
3
|
+
"version": "0.1.0-rc.3",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"description": "Model provider (model-provider@2) for Chat Completions-compatible services (vLLM, DeepSeek, Qwen, ...) using the official openai SDK",
|