@openclaw/qianfan-provider 2026.7.2-beta.4 → 2026.7.2-beta.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/api.js +1 -1
- package/dist/index.js +6 -16
- package/dist/onboard.js +1 -1
- package/dist/provider-catalog-TBOIEipS.js +182 -0
- package/dist/provider-catalog.js +1 -1
- package/openclaw.plugin.json +125 -13
- package/package.json +4 -5
- package/dist/provider-catalog-BC48OUOj.js +0 -48
- package/npm-shrinkwrap.json +0 -12
package/dist/api.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { n as QIANFAN_DEFAULT_MODEL_ID, r as buildQianfanProvider, t as QIANFAN_BASE_URL } from "./provider-catalog-
|
|
1
|
+
import { n as QIANFAN_DEFAULT_MODEL_ID, r as buildQianfanProvider, t as QIANFAN_BASE_URL } from "./provider-catalog-TBOIEipS.js";
|
|
2
2
|
import { QIANFAN_DEFAULT_MODEL_REF } from "./onboard.js";
|
|
3
3
|
export { QIANFAN_BASE_URL, QIANFAN_DEFAULT_MODEL_ID, QIANFAN_DEFAULT_MODEL_REF, buildQianfanProvider };
|
package/dist/index.js
CHANGED
|
@@ -1,29 +1,19 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { i as openclaw_plugin_default } from "./provider-catalog-TBOIEipS.js";
|
|
2
2
|
import { QIANFAN_DEFAULT_MODEL_REF, applyQianfanConfig } from "./onboard.js";
|
|
3
3
|
import { defineSingleProviderPluginEntry } from "openclaw/plugin-sdk/provider-entry";
|
|
4
4
|
var qianfan_default = defineSingleProviderPluginEntry({
|
|
5
5
|
id: "qianfan",
|
|
6
6
|
name: "Qianfan Provider",
|
|
7
7
|
description: "Bundled Qianfan provider plugin",
|
|
8
|
+
manifest: openclaw_plugin_default,
|
|
8
9
|
provider: {
|
|
9
10
|
label: "Qianfan",
|
|
10
11
|
docsPath: "/providers/qianfan",
|
|
11
|
-
|
|
12
|
-
methodId: "api-key",
|
|
13
|
-
label: "Qianfan API key",
|
|
14
|
-
hint: "API key",
|
|
15
|
-
optionKey: "qianfanApiKey",
|
|
16
|
-
flagName: "--qianfan-api-key",
|
|
17
|
-
envVar: "QIANFAN_API_KEY",
|
|
18
|
-
promptMessage: "Enter Qianfan API key",
|
|
12
|
+
manifestAuth: {
|
|
19
13
|
defaultModel: QIANFAN_DEFAULT_MODEL_REF,
|
|
20
|
-
applyConfig:
|
|
21
|
-
}
|
|
22
|
-
catalog: {
|
|
23
|
-
buildProvider: buildQianfanProvider,
|
|
24
|
-
buildStaticProvider: buildQianfanProvider,
|
|
25
|
-
liveModelDiscovery: true
|
|
26
|
-
}
|
|
14
|
+
applyConfig: applyQianfanConfig
|
|
15
|
+
},
|
|
16
|
+
catalog: { liveModelDiscovery: true }
|
|
27
17
|
}
|
|
28
18
|
});
|
|
29
19
|
//#endregion
|
package/dist/onboard.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as QIANFAN_DEFAULT_MODEL_ID, r as buildQianfanProvider } from "./provider-catalog-
|
|
1
|
+
import { n as QIANFAN_DEFAULT_MODEL_ID, r as buildQianfanProvider } from "./provider-catalog-TBOIEipS.js";
|
|
2
2
|
import { createDefaultModelsPresetAppliers } from "openclaw/plugin-sdk/provider-onboard";
|
|
3
3
|
//#region extensions/qianfan/onboard.ts
|
|
4
4
|
const QIANFAN_DEFAULT_MODEL_REF = `qianfan/${QIANFAN_DEFAULT_MODEL_ID}`;
|
|
@@ -0,0 +1,182 @@
|
|
|
1
|
+
import { buildManifestModelProviderConfig } from "openclaw/plugin-sdk/provider-catalog-shared";
|
|
2
|
+
//#region extensions/qianfan/openclaw.plugin.json
|
|
3
|
+
var openclaw_plugin_default = {
|
|
4
|
+
id: "qianfan",
|
|
5
|
+
icon: "https://cdn.simpleicons.org/baidu",
|
|
6
|
+
activation: { "onStartup": false },
|
|
7
|
+
enabledByDefault: true,
|
|
8
|
+
providers: ["qianfan"],
|
|
9
|
+
setup: { "providers": [{
|
|
10
|
+
"id": "qianfan",
|
|
11
|
+
"authMethods": ["api-key"],
|
|
12
|
+
"envVars": ["QIANFAN_API_KEY"]
|
|
13
|
+
}] },
|
|
14
|
+
modelCatalog: {
|
|
15
|
+
"providers": { "qianfan": {
|
|
16
|
+
"baseUrl": "https://qianfan.baidubce.com/v2",
|
|
17
|
+
"api": "openai-completions",
|
|
18
|
+
"models": [
|
|
19
|
+
{
|
|
20
|
+
"id": "deepseek-v4-pro",
|
|
21
|
+
"name": "DeepSeek V4 Pro",
|
|
22
|
+
"input": ["text"],
|
|
23
|
+
"reasoning": true,
|
|
24
|
+
"contextWindow": 1e6,
|
|
25
|
+
"maxTokens": 393216,
|
|
26
|
+
"cost": {
|
|
27
|
+
"input": 1.771957,
|
|
28
|
+
"output": 3.543915,
|
|
29
|
+
"cacheRead": .147663,
|
|
30
|
+
"cacheWrite": 0
|
|
31
|
+
}
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
"id": "ernie-5.1",
|
|
35
|
+
"name": "ERNIE 5.1",
|
|
36
|
+
"input": ["text"],
|
|
37
|
+
"reasoning": false,
|
|
38
|
+
"contextWindow": 128e3,
|
|
39
|
+
"maxTokens": 65536,
|
|
40
|
+
"cost": {
|
|
41
|
+
"input": .590652,
|
|
42
|
+
"output": 2.657936,
|
|
43
|
+
"cacheRead": 0,
|
|
44
|
+
"cacheWrite": 0,
|
|
45
|
+
"tieredPricing": [{
|
|
46
|
+
"input": .590652,
|
|
47
|
+
"output": 2.657936,
|
|
48
|
+
"cacheRead": 0,
|
|
49
|
+
"cacheWrite": 0,
|
|
50
|
+
"range": [0, 32001]
|
|
51
|
+
}, {
|
|
52
|
+
"input": .885979,
|
|
53
|
+
"output": 3.248589,
|
|
54
|
+
"cacheRead": 0,
|
|
55
|
+
"cacheWrite": 0,
|
|
56
|
+
"range": [32001]
|
|
57
|
+
}]
|
|
58
|
+
}
|
|
59
|
+
},
|
|
60
|
+
{
|
|
61
|
+
"id": "ernie-5.0",
|
|
62
|
+
"name": "ERNIE 5.0",
|
|
63
|
+
"input": ["text", "image"],
|
|
64
|
+
"reasoning": true,
|
|
65
|
+
"contextWindow": 128e3,
|
|
66
|
+
"maxTokens": 65536,
|
|
67
|
+
"cost": {
|
|
68
|
+
"input": .885979,
|
|
69
|
+
"output": 3.543915,
|
|
70
|
+
"cacheRead": 0,
|
|
71
|
+
"cacheWrite": 0,
|
|
72
|
+
"tieredPricing": [{
|
|
73
|
+
"input": .885979,
|
|
74
|
+
"output": 3.543915,
|
|
75
|
+
"cacheRead": 0,
|
|
76
|
+
"cacheWrite": 0,
|
|
77
|
+
"range": [0, 32001]
|
|
78
|
+
}, {
|
|
79
|
+
"input": 1.476631,
|
|
80
|
+
"output": 5.906525,
|
|
81
|
+
"cacheRead": 0,
|
|
82
|
+
"cacheWrite": 0,
|
|
83
|
+
"range": [32001]
|
|
84
|
+
}]
|
|
85
|
+
}
|
|
86
|
+
},
|
|
87
|
+
{
|
|
88
|
+
"id": "deepseek-v3.2",
|
|
89
|
+
"name": "DeepSeek V3.2",
|
|
90
|
+
"input": ["text"],
|
|
91
|
+
"reasoning": false,
|
|
92
|
+
"contextWindow": 128e3,
|
|
93
|
+
"maxTokens": 32768,
|
|
94
|
+
"cost": {
|
|
95
|
+
"input": .295326,
|
|
96
|
+
"output": .442989,
|
|
97
|
+
"cacheRead": .059065,
|
|
98
|
+
"cacheWrite": 0,
|
|
99
|
+
"tieredPricing": [{
|
|
100
|
+
"input": .295326,
|
|
101
|
+
"output": .442989,
|
|
102
|
+
"cacheRead": .059065,
|
|
103
|
+
"cacheWrite": 0,
|
|
104
|
+
"range": [0, 32001]
|
|
105
|
+
}, {
|
|
106
|
+
"input": .590652,
|
|
107
|
+
"output": .885979,
|
|
108
|
+
"cacheRead": .059065,
|
|
109
|
+
"cacheWrite": 0,
|
|
110
|
+
"range": [32001]
|
|
111
|
+
}]
|
|
112
|
+
},
|
|
113
|
+
"status": "deprecated",
|
|
114
|
+
"statusReason": "Still available by exact reference; use deepseek-v4-pro for new Qianfan setups.",
|
|
115
|
+
"replacedBy": "deepseek-v4-pro"
|
|
116
|
+
},
|
|
117
|
+
{
|
|
118
|
+
"id": "ernie-5.0-thinking-preview",
|
|
119
|
+
"name": "ERNIE-5.0-Thinking-Preview",
|
|
120
|
+
"input": ["text", "image"],
|
|
121
|
+
"reasoning": true,
|
|
122
|
+
"contextWindow": 128e3,
|
|
123
|
+
"maxTokens": 65536,
|
|
124
|
+
"cost": {
|
|
125
|
+
"input": .885979,
|
|
126
|
+
"output": 3.543915,
|
|
127
|
+
"cacheRead": 0,
|
|
128
|
+
"cacheWrite": 0,
|
|
129
|
+
"tieredPricing": [{
|
|
130
|
+
"input": .885979,
|
|
131
|
+
"output": 3.543915,
|
|
132
|
+
"cacheRead": 0,
|
|
133
|
+
"cacheWrite": 0,
|
|
134
|
+
"range": [0, 32001]
|
|
135
|
+
}, {
|
|
136
|
+
"input": 1.476631,
|
|
137
|
+
"output": 5.906525,
|
|
138
|
+
"cacheRead": 0,
|
|
139
|
+
"cacheWrite": 0,
|
|
140
|
+
"range": [32001]
|
|
141
|
+
}]
|
|
142
|
+
},
|
|
143
|
+
"status": "deprecated",
|
|
144
|
+
"statusReason": "Still available by exact reference; use the stable ernie-5.0 id for new Qianfan setups.",
|
|
145
|
+
"replacedBy": "ernie-5.0"
|
|
146
|
+
}
|
|
147
|
+
]
|
|
148
|
+
} },
|
|
149
|
+
"discovery": { "qianfan": "refreshable" }
|
|
150
|
+
},
|
|
151
|
+
providerAuthChoices: [{
|
|
152
|
+
"provider": "qianfan",
|
|
153
|
+
"method": "api-key",
|
|
154
|
+
"choiceId": "qianfan-api-key",
|
|
155
|
+
"appGuidedSecret": true,
|
|
156
|
+
"choiceLabel": "Qianfan API key",
|
|
157
|
+
"groupId": "qianfan",
|
|
158
|
+
"groupLabel": "Qianfan",
|
|
159
|
+
"groupHint": "API key",
|
|
160
|
+
"optionKey": "qianfanApiKey",
|
|
161
|
+
"cliFlag": "--qianfan-api-key",
|
|
162
|
+
"cliOption": "--qianfan-api-key <key>",
|
|
163
|
+
"cliDescription": "QIANFAN API key"
|
|
164
|
+
}],
|
|
165
|
+
configSchema: {
|
|
166
|
+
"type": "object",
|
|
167
|
+
"additionalProperties": false,
|
|
168
|
+
"properties": {}
|
|
169
|
+
}
|
|
170
|
+
};
|
|
171
|
+
//#endregion
|
|
172
|
+
//#region extensions/qianfan/provider-catalog.ts
|
|
173
|
+
const QIANFAN_BASE_URL = "https://qianfan.baidubce.com/v2";
|
|
174
|
+
const QIANFAN_DEFAULT_MODEL_ID = "deepseek-v4-pro";
|
|
175
|
+
function buildQianfanProvider() {
|
|
176
|
+
return buildManifestModelProviderConfig({
|
|
177
|
+
providerId: "qianfan",
|
|
178
|
+
catalog: openclaw_plugin_default.modelCatalog.providers.qianfan
|
|
179
|
+
});
|
|
180
|
+
}
|
|
181
|
+
//#endregion
|
|
182
|
+
export { openclaw_plugin_default as i, QIANFAN_DEFAULT_MODEL_ID as n, buildQianfanProvider as r, QIANFAN_BASE_URL as t };
|
package/dist/provider-catalog.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as QIANFAN_DEFAULT_MODEL_ID, r as buildQianfanProvider, t as QIANFAN_BASE_URL } from "./provider-catalog-
|
|
1
|
+
import { n as QIANFAN_DEFAULT_MODEL_ID, r as buildQianfanProvider, t as QIANFAN_BASE_URL } from "./provider-catalog-TBOIEipS.js";
|
|
2
2
|
export { QIANFAN_BASE_URL, QIANFAN_DEFAULT_MODEL_ID, buildQianfanProvider };
|
package/openclaw.plugin.json
CHANGED
|
@@ -22,32 +22,144 @@
|
|
|
22
22
|
"api": "openai-completions",
|
|
23
23
|
"models": [
|
|
24
24
|
{
|
|
25
|
-
"id": "deepseek-
|
|
26
|
-
"name": "
|
|
25
|
+
"id": "deepseek-v4-pro",
|
|
26
|
+
"name": "DeepSeek V4 Pro",
|
|
27
27
|
"input": ["text"],
|
|
28
28
|
"reasoning": true,
|
|
29
|
-
"contextWindow":
|
|
30
|
-
"maxTokens":
|
|
29
|
+
"contextWindow": 1000000,
|
|
30
|
+
"maxTokens": 393216,
|
|
31
31
|
"cost": {
|
|
32
|
-
"input":
|
|
33
|
-
"output":
|
|
34
|
-
"cacheRead": 0,
|
|
32
|
+
"input": 1.771957,
|
|
33
|
+
"output": 3.543915,
|
|
34
|
+
"cacheRead": 0.147663,
|
|
35
35
|
"cacheWrite": 0
|
|
36
36
|
}
|
|
37
37
|
},
|
|
38
|
+
{
|
|
39
|
+
"id": "ernie-5.1",
|
|
40
|
+
"name": "ERNIE 5.1",
|
|
41
|
+
"input": ["text"],
|
|
42
|
+
"reasoning": false,
|
|
43
|
+
"contextWindow": 128000,
|
|
44
|
+
"maxTokens": 65536,
|
|
45
|
+
"cost": {
|
|
46
|
+
"input": 0.590652,
|
|
47
|
+
"output": 2.657936,
|
|
48
|
+
"cacheRead": 0,
|
|
49
|
+
"cacheWrite": 0,
|
|
50
|
+
"tieredPricing": [
|
|
51
|
+
{
|
|
52
|
+
"input": 0.590652,
|
|
53
|
+
"output": 2.657936,
|
|
54
|
+
"cacheRead": 0,
|
|
55
|
+
"cacheWrite": 0,
|
|
56
|
+
"range": [0, 32001]
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
"input": 0.885979,
|
|
60
|
+
"output": 3.248589,
|
|
61
|
+
"cacheRead": 0,
|
|
62
|
+
"cacheWrite": 0,
|
|
63
|
+
"range": [32001]
|
|
64
|
+
}
|
|
65
|
+
]
|
|
66
|
+
}
|
|
67
|
+
},
|
|
68
|
+
{
|
|
69
|
+
"id": "ernie-5.0",
|
|
70
|
+
"name": "ERNIE 5.0",
|
|
71
|
+
"input": ["text", "image"],
|
|
72
|
+
"reasoning": true,
|
|
73
|
+
"contextWindow": 128000,
|
|
74
|
+
"maxTokens": 65536,
|
|
75
|
+
"cost": {
|
|
76
|
+
"input": 0.885979,
|
|
77
|
+
"output": 3.543915,
|
|
78
|
+
"cacheRead": 0,
|
|
79
|
+
"cacheWrite": 0,
|
|
80
|
+
"tieredPricing": [
|
|
81
|
+
{
|
|
82
|
+
"input": 0.885979,
|
|
83
|
+
"output": 3.543915,
|
|
84
|
+
"cacheRead": 0,
|
|
85
|
+
"cacheWrite": 0,
|
|
86
|
+
"range": [0, 32001]
|
|
87
|
+
},
|
|
88
|
+
{
|
|
89
|
+
"input": 1.476631,
|
|
90
|
+
"output": 5.906525,
|
|
91
|
+
"cacheRead": 0,
|
|
92
|
+
"cacheWrite": 0,
|
|
93
|
+
"range": [32001]
|
|
94
|
+
}
|
|
95
|
+
]
|
|
96
|
+
}
|
|
97
|
+
},
|
|
98
|
+
{
|
|
99
|
+
"id": "deepseek-v3.2",
|
|
100
|
+
"name": "DeepSeek V3.2",
|
|
101
|
+
"input": ["text"],
|
|
102
|
+
"reasoning": false,
|
|
103
|
+
"contextWindow": 128000,
|
|
104
|
+
"maxTokens": 32768,
|
|
105
|
+
"cost": {
|
|
106
|
+
"input": 0.295326,
|
|
107
|
+
"output": 0.442989,
|
|
108
|
+
"cacheRead": 0.059065,
|
|
109
|
+
"cacheWrite": 0,
|
|
110
|
+
"tieredPricing": [
|
|
111
|
+
{
|
|
112
|
+
"input": 0.295326,
|
|
113
|
+
"output": 0.442989,
|
|
114
|
+
"cacheRead": 0.059065,
|
|
115
|
+
"cacheWrite": 0,
|
|
116
|
+
"range": [0, 32001]
|
|
117
|
+
},
|
|
118
|
+
{
|
|
119
|
+
"input": 0.590652,
|
|
120
|
+
"output": 0.885979,
|
|
121
|
+
"cacheRead": 0.059065,
|
|
122
|
+
"cacheWrite": 0,
|
|
123
|
+
"range": [32001]
|
|
124
|
+
}
|
|
125
|
+
]
|
|
126
|
+
},
|
|
127
|
+
"status": "deprecated",
|
|
128
|
+
"statusReason": "Still available by exact reference; use deepseek-v4-pro for new Qianfan setups.",
|
|
129
|
+
"replacedBy": "deepseek-v4-pro"
|
|
130
|
+
},
|
|
38
131
|
{
|
|
39
132
|
"id": "ernie-5.0-thinking-preview",
|
|
40
133
|
"name": "ERNIE-5.0-Thinking-Preview",
|
|
41
134
|
"input": ["text", "image"],
|
|
42
135
|
"reasoning": true,
|
|
43
|
-
"contextWindow":
|
|
44
|
-
"maxTokens":
|
|
136
|
+
"contextWindow": 128000,
|
|
137
|
+
"maxTokens": 65536,
|
|
45
138
|
"cost": {
|
|
46
|
-
"input": 0,
|
|
47
|
-
"output":
|
|
139
|
+
"input": 0.885979,
|
|
140
|
+
"output": 3.543915,
|
|
48
141
|
"cacheRead": 0,
|
|
49
|
-
"cacheWrite": 0
|
|
50
|
-
|
|
142
|
+
"cacheWrite": 0,
|
|
143
|
+
"tieredPricing": [
|
|
144
|
+
{
|
|
145
|
+
"input": 0.885979,
|
|
146
|
+
"output": 3.543915,
|
|
147
|
+
"cacheRead": 0,
|
|
148
|
+
"cacheWrite": 0,
|
|
149
|
+
"range": [0, 32001]
|
|
150
|
+
},
|
|
151
|
+
{
|
|
152
|
+
"input": 1.476631,
|
|
153
|
+
"output": 5.906525,
|
|
154
|
+
"cacheRead": 0,
|
|
155
|
+
"cacheWrite": 0,
|
|
156
|
+
"range": [32001]
|
|
157
|
+
}
|
|
158
|
+
]
|
|
159
|
+
},
|
|
160
|
+
"status": "deprecated",
|
|
161
|
+
"statusReason": "Still available by exact reference; use the stable ernie-5.0 id for new Qianfan setups.",
|
|
162
|
+
"replacedBy": "ernie-5.0"
|
|
51
163
|
}
|
|
52
164
|
]
|
|
53
165
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@openclaw/qianfan-provider",
|
|
3
|
-
"version": "2026.7.2-beta.
|
|
3
|
+
"version": "2026.7.2-beta.5",
|
|
4
4
|
"description": "OpenClaw Qianfan provider plugin.",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -18,10 +18,10 @@
|
|
|
18
18
|
"minHostVersion": ">=2026.6.8"
|
|
19
19
|
},
|
|
20
20
|
"compat": {
|
|
21
|
-
"pluginApi": ">=2026.7.2-beta.
|
|
21
|
+
"pluginApi": ">=2026.7.2-beta.5"
|
|
22
22
|
},
|
|
23
23
|
"build": {
|
|
24
|
-
"openclawVersion": "2026.7.2-beta.
|
|
24
|
+
"openclawVersion": "2026.7.2-beta.5",
|
|
25
25
|
"bundledDist": false
|
|
26
26
|
},
|
|
27
27
|
"release": {
|
|
@@ -35,11 +35,10 @@
|
|
|
35
35
|
"files": [
|
|
36
36
|
"dist/**",
|
|
37
37
|
"openclaw.plugin.json",
|
|
38
|
-
"npm-shrinkwrap.json",
|
|
39
38
|
"README.md"
|
|
40
39
|
],
|
|
41
40
|
"peerDependencies": {
|
|
42
|
-
"openclaw": ">=2026.7.2-beta.
|
|
41
|
+
"openclaw": ">=2026.7.2-beta.5"
|
|
43
42
|
},
|
|
44
43
|
"peerDependenciesMeta": {
|
|
45
44
|
"openclaw": {
|
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
import { buildManifestModelProviderConfig } from "openclaw/plugin-sdk/provider-catalog-shared";
|
|
2
|
-
//#region extensions/qianfan/openclaw.plugin.json
|
|
3
|
-
var modelCatalog = {
|
|
4
|
-
"providers": { "qianfan": {
|
|
5
|
-
"baseUrl": "https://qianfan.baidubce.com/v2",
|
|
6
|
-
"api": "openai-completions",
|
|
7
|
-
"models": [{
|
|
8
|
-
"id": "deepseek-v3.2",
|
|
9
|
-
"name": "DEEPSEEK V3.2",
|
|
10
|
-
"input": ["text"],
|
|
11
|
-
"reasoning": true,
|
|
12
|
-
"contextWindow": 98304,
|
|
13
|
-
"maxTokens": 32768,
|
|
14
|
-
"cost": {
|
|
15
|
-
"input": 0,
|
|
16
|
-
"output": 0,
|
|
17
|
-
"cacheRead": 0,
|
|
18
|
-
"cacheWrite": 0
|
|
19
|
-
}
|
|
20
|
-
}, {
|
|
21
|
-
"id": "ernie-5.0-thinking-preview",
|
|
22
|
-
"name": "ERNIE-5.0-Thinking-Preview",
|
|
23
|
-
"input": ["text", "image"],
|
|
24
|
-
"reasoning": true,
|
|
25
|
-
"contextWindow": 119e3,
|
|
26
|
-
"maxTokens": 64e3,
|
|
27
|
-
"cost": {
|
|
28
|
-
"input": 0,
|
|
29
|
-
"output": 0,
|
|
30
|
-
"cacheRead": 0,
|
|
31
|
-
"cacheWrite": 0
|
|
32
|
-
}
|
|
33
|
-
}]
|
|
34
|
-
} },
|
|
35
|
-
"discovery": { "qianfan": "refreshable" }
|
|
36
|
-
};
|
|
37
|
-
//#endregion
|
|
38
|
-
//#region extensions/qianfan/provider-catalog.ts
|
|
39
|
-
const QIANFAN_BASE_URL = "https://qianfan.baidubce.com/v2";
|
|
40
|
-
const QIANFAN_DEFAULT_MODEL_ID = "deepseek-v3.2";
|
|
41
|
-
function buildQianfanProvider() {
|
|
42
|
-
return buildManifestModelProviderConfig({
|
|
43
|
-
providerId: "qianfan",
|
|
44
|
-
catalog: modelCatalog.providers.qianfan
|
|
45
|
-
});
|
|
46
|
-
}
|
|
47
|
-
//#endregion
|
|
48
|
-
export { QIANFAN_DEFAULT_MODEL_ID as n, buildQianfanProvider as r, QIANFAN_BASE_URL as t };
|
package/npm-shrinkwrap.json
DELETED