@openclaw/deepinfra-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 CHANGED
@@ -1,9 +1,9 @@
1
1
  import { DEEPINFRA_DEFAULT_MODEL_REF } from "./provider-models.js";
2
+ import { deepinfraEmbeddingProviderAdapter } from "./embedding-adapter.js";
2
3
  import { buildDeepInfraImageGenerationProvider } from "./image-generation-provider.js";
3
4
  import { deepinfraMediaUnderstandingProvider } from "./media-understanding-provider.js";
4
- import { deepinfraMemoryEmbeddingProviderAdapter } from "./memory-embedding-adapter.js";
5
5
  import { applyDeepInfraConfig } from "./onboard.js";
6
6
  import { buildDeepInfraProvider, buildStaticDeepInfraProvider } from "./provider-catalog.js";
7
7
  import { buildDeepInfraSpeechProvider } from "./speech-provider.js";
8
8
  import { buildDeepInfraVideoGenerationProvider } from "./video-generation-provider.js";
9
- export { DEEPINFRA_DEFAULT_MODEL_REF, applyDeepInfraConfig, buildDeepInfraImageGenerationProvider, buildDeepInfraProvider, buildDeepInfraSpeechProvider, buildDeepInfraVideoGenerationProvider, buildStaticDeepInfraProvider, deepinfraMediaUnderstandingProvider, deepinfraMemoryEmbeddingProviderAdapter };
9
+ export { DEEPINFRA_DEFAULT_MODEL_REF, applyDeepInfraConfig, buildDeepInfraImageGenerationProvider, buildDeepInfraProvider, buildDeepInfraSpeechProvider, buildDeepInfraVideoGenerationProvider, buildStaticDeepInfraProvider, deepinfraEmbeddingProviderAdapter, deepinfraMediaUnderstandingProvider };
@@ -1,4 +1,4 @@
1
- import { t as modelCatalog } from "./openclaw.plugin-C1yZ4_ko.js";
1
+ import { t as modelCatalog } from "./openclaw.plugin-DhzOI6DT.js";
2
2
  import { asObjectRecord } from "openclaw/plugin-sdk/runtime-doctor";
3
3
  //#region extensions/deepinfra/doctor-contract-api.ts
4
4
  const PROVIDER_PATH = "models.providers.deepinfra";
@@ -0,0 +1,58 @@
1
+ import { DEFAULT_DEEPINFRA_EMBEDDING_MODEL, createDeepInfraEmbeddingProvider } from "./embedding-provider.js";
2
+ //#region extensions/deepinfra/embedding-adapter.ts
3
+ function textFromEmbeddingInput(input) {
4
+ return typeof input === "string" ? input : input.text;
5
+ }
6
+ function adaptMemoryEmbeddingProvider(provider) {
7
+ return {
8
+ id: provider.id,
9
+ model: provider.model,
10
+ ...typeof provider.maxInputTokens === "number" ? { maxInputTokens: provider.maxInputTokens } : {},
11
+ embed: async (input, options) => await provider.embedQuery(textFromEmbeddingInput(input), { signal: options?.signal }),
12
+ embedBatch: async (inputs, options) => await provider.embedBatch(inputs.map(textFromEmbeddingInput), { signal: options?.signal }),
13
+ ...provider.close ? { close: async () => await provider.close?.() } : {}
14
+ };
15
+ }
16
+ function buildMemoryCreateOptions(options) {
17
+ return {
18
+ config: options.config,
19
+ agentDir: options.agentDir,
20
+ provider: "deepinfra",
21
+ fallback: "none",
22
+ remote: options.remote,
23
+ model: options.model,
24
+ inputType: options.inputType,
25
+ queryInputType: options.queryInputType,
26
+ documentInputType: options.documentInputType,
27
+ outputDimensionality: options.dimensions,
28
+ taskType: options.taskType
29
+ };
30
+ }
31
+ function buildDeepInfraEmbeddingAdapter(options) {
32
+ const defaultModel = options?.embedModels?.[0]?.id ?? DEFAULT_DEEPINFRA_EMBEDDING_MODEL;
33
+ return {
34
+ id: "deepinfra",
35
+ defaultModel,
36
+ transport: "remote",
37
+ authProviderId: "deepinfra",
38
+ create: async (createOptions) => {
39
+ const { provider, client } = await createDeepInfraEmbeddingProvider({
40
+ ...buildMemoryCreateOptions(createOptions),
41
+ defaultModel
42
+ });
43
+ return {
44
+ provider: provider ? adaptMemoryEmbeddingProvider(provider) : null,
45
+ runtime: {
46
+ id: "deepinfra",
47
+ cacheKeyData: {
48
+ provider: "deepinfra",
49
+ model: client.model
50
+ }
51
+ }
52
+ };
53
+ }
54
+ };
55
+ }
56
+ const deepinfraEmbeddingProviderAdapter = buildDeepInfraEmbeddingAdapter();
57
+ //#endregion
58
+ export { buildDeepInfraEmbeddingAdapter, deepinfraEmbeddingProviderAdapter };
@@ -1,7 +1,7 @@
1
1
  import { DEEPINFRA_BASE_URL } from "./provider-models.js";
2
2
  import { DEEPINFRA_IMAGE_FALLBACK_MODELS, normalizeDeepInfraBaseUrl, normalizeDeepInfraModelRef } from "./media-models.js";
3
- import { createOpenAiCompatibleImageGenerationProvider, imageSourceUploadFileName } from "openclaw/plugin-sdk/image-generation";
4
3
  import { normalizeOptionalString } from "openclaw/plugin-sdk/string-coerce-runtime";
4
+ import { createOpenAiCompatibleImageGenerationProvider, imageSourceUploadFileName } from "openclaw/plugin-sdk/image-generation";
5
5
  //#region extensions/deepinfra/image-generation-provider.ts
6
6
  const DEEPINFRA_IMAGE_SIZES = [
7
7
  "512x512",
package/dist/index.js CHANGED
@@ -1,8 +1,8 @@
1
1
  import { createDeepInfraAnthropicCacheWrapper } from "./cache-wrapper.js";
2
2
  import { DEEPINFRA_DEFAULT_MODEL_REF, discoverDeepInfraModels, getDeepInfraSurfaceFallbackCatalog, hasDeepInfraApiKey } from "./provider-models.js";
3
+ import { buildDeepInfraEmbeddingAdapter } from "./embedding-adapter.js";
3
4
  import { buildDeepInfraImageGenerationProvider } from "./image-generation-provider.js";
4
5
  import { buildDeepInfraMediaUnderstandingProvider } from "./media-understanding-provider.js";
5
- import { buildDeepInfraMemoryEmbeddingAdapter } from "./memory-embedding-adapter.js";
6
6
  import { applyDeepInfraConfig } from "./onboard.js";
7
7
  import { buildDeepInfraApiKeyCatalog, buildStaticDeepInfraProvider } from "./provider-catalog.js";
8
8
  import { buildDeepInfraSpeechProvider } from "./speech-provider.js";
@@ -104,7 +104,7 @@ var deepinfra_default = defineSingleProviderPluginEntry({
104
104
  vlmModels: catalog.vlm,
105
105
  sttModels: catalog.stt
106
106
  }));
107
- api.registerMemoryEmbeddingProvider(buildDeepInfraMemoryEmbeddingAdapter({ embedModels: catalog.embed }));
107
+ api.registerEmbeddingProvider(buildDeepInfraEmbeddingAdapter({ embedModels: catalog.embed }));
108
108
  api.registerSpeechProvider(buildDeepInfraSpeechProvider({ ttsModels: catalog.tts }));
109
109
  api.registerVideoGenerationProvider(buildDeepInfraVideoGenerationProvider({ videoGenModels: catalog.videoGen }));
110
110
  api.registerModelCatalogProvider({
@@ -12,84 +12,99 @@ var modelCatalog = {
12
12
  "contextWindow": 1048576,
13
13
  "maxTokens": 1048576,
14
14
  "cost": {
15
- "input": .1,
16
- "output": .2,
17
- "cacheRead": .02,
15
+ "input": .09,
16
+ "output": .18,
17
+ "cacheRead": .018,
18
18
  "cacheWrite": 0
19
19
  },
20
20
  "compat": { "supportsUsageInStreaming": true }
21
21
  },
22
22
  {
23
- "id": "deepseek-ai/DeepSeek-V3.2",
24
- "name": "DeepSeek V3.2",
25
- "reasoning": false,
23
+ "id": "deepseek-ai/DeepSeek-V4-Pro",
24
+ "name": "DeepSeek V4 Pro",
25
+ "reasoning": true,
26
26
  "input": ["text"],
27
- "contextWindow": 163840,
28
- "maxTokens": 163840,
27
+ "contextWindow": 1048576,
28
+ "maxTokens": 1048576,
29
29
  "cost": {
30
- "input": .26,
31
- "output": .38,
32
- "cacheRead": .13,
30
+ "input": 1.3,
31
+ "output": 2.6,
32
+ "cacheRead": .1,
33
33
  "cacheWrite": 0
34
34
  },
35
35
  "compat": { "supportsUsageInStreaming": true }
36
36
  },
37
37
  {
38
- "id": "zai-org/GLM-5.1",
39
- "name": "GLM-5.1",
38
+ "id": "zai-org/GLM-5.2",
39
+ "name": "GLM-5.2",
40
40
  "reasoning": true,
41
41
  "input": ["text"],
42
- "contextWindow": 202752,
43
- "maxTokens": 202752,
42
+ "contextWindow": 1048576,
43
+ "maxTokens": 1048576,
44
44
  "cost": {
45
- "input": 1.05,
46
- "output": 3.5,
47
- "cacheRead": .205000005,
45
+ "input": .93,
46
+ "output": 3,
47
+ "cacheRead": .18,
48
48
  "cacheWrite": 0
49
49
  },
50
50
  "compat": { "supportsUsageInStreaming": true }
51
51
  },
52
52
  {
53
- "id": "stepfun-ai/Step-3.5-Flash",
54
- "name": "Step 3.5 Flash",
55
- "reasoning": false,
56
- "input": ["text"],
53
+ "id": "stepfun-ai/Step-3.7-Flash",
54
+ "name": "Step 3.7 Flash",
55
+ "reasoning": true,
56
+ "input": ["text", "image"],
57
57
  "contextWindow": 262144,
58
58
  "maxTokens": 262144,
59
59
  "cost": {
60
- "input": .1,
61
- "output": .3,
62
- "cacheRead": .02,
60
+ "input": .2,
61
+ "output": 1.15,
62
+ "cacheRead": .04,
63
63
  "cacheWrite": 0
64
64
  },
65
65
  "compat": { "supportsUsageInStreaming": true }
66
66
  },
67
67
  {
68
- "id": "MiniMaxAI/MiniMax-M2.5",
69
- "name": "MiniMax M2.5",
68
+ "id": "moonshotai/Kimi-K2.7-Code",
69
+ "name": "Kimi K2.7 Code",
70
70
  "reasoning": true,
71
- "input": ["text"],
72
- "contextWindow": 196608,
73
- "maxTokens": 196608,
71
+ "input": ["text", "image"],
72
+ "contextWindow": 262144,
73
+ "maxTokens": 262144,
74
74
  "cost": {
75
- "input": .15,
76
- "output": 1.15,
77
- "cacheRead": .03,
75
+ "input": .74,
76
+ "output": 3.5,
77
+ "cacheRead": .15,
78
78
  "cacheWrite": 0
79
79
  },
80
80
  "compat": { "supportsUsageInStreaming": true }
81
81
  },
82
82
  {
83
- "id": "moonshotai/Kimi-K2.5",
84
- "name": "Kimi K2.5",
83
+ "id": "moonshotai/Kimi-K2.6",
84
+ "name": "Kimi K2.6",
85
85
  "reasoning": true,
86
86
  "input": ["text", "image"],
87
87
  "contextWindow": 262144,
88
88
  "maxTokens": 262144,
89
89
  "cost": {
90
- "input": .45,
91
- "output": 2.25,
92
- "cacheRead": .070000002,
90
+ "input": .75,
91
+ "output": 3.5,
92
+ "cacheRead": .15,
93
+ "cacheWrite": 0
94
+ },
95
+ "compat": { "supportsUsageInStreaming": true }
96
+ },
97
+ {
98
+ "id": "nvidia/NVIDIA-Nemotron-3-Ultra-550B-A55B",
99
+ "name": "NVIDIA Nemotron 3 Ultra 550B A55B",
100
+ "reasoning": true,
101
+ "input": ["text", "image"],
102
+ "contextWindow": 262144,
103
+ "maxTokens": 262144,
104
+ "cost": {
105
+ "input": .5,
106
+ "output": 2.2,
107
+ "cacheRead": .1,
93
108
  "cacheWrite": 0
94
109
  },
95
110
  "compat": { "supportsUsageInStreaming": true }
@@ -102,24 +117,77 @@ var modelCatalog = {
102
117
  "contextWindow": 262144,
103
118
  "maxTokens": 262144,
104
119
  "cost": {
105
- "input": .1,
106
- "output": .5,
120
+ "input": .085,
121
+ "output": .4,
107
122
  "cacheRead": 0,
108
123
  "cacheWrite": 0
109
124
  },
110
125
  "compat": { "supportsUsageInStreaming": true }
111
126
  },
112
127
  {
113
- "id": "meta-llama/Llama-3.3-70B-Instruct-Turbo",
114
- "name": "Llama 3.3 70B Instruct Turbo",
128
+ "id": "deepseek-ai/DeepSeek-V3.2",
129
+ "name": "DeepSeek V3.2",
130
+ "status": "deprecated",
131
+ "replacedBy": "deepseek-ai/DeepSeek-V4-Pro",
115
132
  "reasoning": false,
116
133
  "input": ["text"],
117
- "contextWindow": 131072,
118
- "maxTokens": 131072,
134
+ "contextWindow": 163840,
135
+ "maxTokens": 163840,
136
+ "cost": {
137
+ "input": .26,
138
+ "output": .38,
139
+ "cacheRead": .13,
140
+ "cacheWrite": 0
141
+ },
142
+ "compat": { "supportsUsageInStreaming": true }
143
+ },
144
+ {
145
+ "id": "zai-org/GLM-5.1",
146
+ "name": "GLM-5.1",
147
+ "status": "deprecated",
148
+ "replacedBy": "zai-org/GLM-5.2",
149
+ "reasoning": true,
150
+ "input": ["text"],
151
+ "contextWindow": 202752,
152
+ "maxTokens": 202752,
153
+ "cost": {
154
+ "input": 1.05,
155
+ "output": 3.5,
156
+ "cacheRead": .205000005,
157
+ "cacheWrite": 0
158
+ },
159
+ "compat": { "supportsUsageInStreaming": true }
160
+ },
161
+ {
162
+ "id": "stepfun-ai/Step-3.5-Flash",
163
+ "name": "Step 3.5 Flash",
164
+ "status": "deprecated",
165
+ "replacedBy": "stepfun-ai/Step-3.7-Flash",
166
+ "reasoning": true,
167
+ "input": ["text"],
168
+ "contextWindow": 262144,
169
+ "maxTokens": 262144,
119
170
  "cost": {
120
171
  "input": .1,
121
- "output": .32,
122
- "cacheRead": 0,
172
+ "output": .3,
173
+ "cacheRead": .02,
174
+ "cacheWrite": 0
175
+ },
176
+ "compat": { "supportsUsageInStreaming": true }
177
+ },
178
+ {
179
+ "id": "moonshotai/Kimi-K2.5",
180
+ "name": "Kimi K2.5",
181
+ "status": "deprecated",
182
+ "replacedBy": "moonshotai/Kimi-K2.6",
183
+ "reasoning": true,
184
+ "input": ["text", "image"],
185
+ "contextWindow": 262144,
186
+ "maxTokens": 262144,
187
+ "cost": {
188
+ "input": .45,
189
+ "output": 2.25,
190
+ "cacheRead": .070000002,
123
191
  "cacheWrite": 0
124
192
  },
125
193
  "compat": { "supportsUsageInStreaming": true }
@@ -1,4 +1,4 @@
1
- import { t as modelCatalog } from "./openclaw.plugin-C1yZ4_ko.js";
1
+ import { t as modelCatalog } from "./openclaw.plugin-DhzOI6DT.js";
2
2
  import { buildManifestModelProviderConfig } from "openclaw/plugin-sdk/provider-catalog-shared";
3
3
  import { asPositiveSafeInteger } from "openclaw/plugin-sdk/string-coerce-runtime";
4
4
  import { withTrustedEnvProxyGuardedFetchMode } from "openclaw/plugin-sdk/fetch-runtime";
@@ -42,9 +42,9 @@
42
42
  "contextWindow": 1048576,
43
43
  "maxTokens": 1048576,
44
44
  "cost": {
45
- "input": 0.1,
46
- "output": 0.2,
47
- "cacheRead": 0.02,
45
+ "input": 0.09,
46
+ "output": 0.18,
47
+ "cacheRead": 0.018,
48
48
  "cacheWrite": 0
49
49
  },
50
50
  "compat": {
@@ -52,16 +52,16 @@
52
52
  }
53
53
  },
54
54
  {
55
- "id": "deepseek-ai/DeepSeek-V3.2",
56
- "name": "DeepSeek V3.2",
57
- "reasoning": false,
55
+ "id": "deepseek-ai/DeepSeek-V4-Pro",
56
+ "name": "DeepSeek V4 Pro",
57
+ "reasoning": true,
58
58
  "input": ["text"],
59
- "contextWindow": 163840,
60
- "maxTokens": 163840,
59
+ "contextWindow": 1048576,
60
+ "maxTokens": 1048576,
61
61
  "cost": {
62
- "input": 0.26,
63
- "output": 0.38,
64
- "cacheRead": 0.13,
62
+ "input": 1.3,
63
+ "output": 2.6,
64
+ "cacheRead": 0.1,
65
65
  "cacheWrite": 0
66
66
  },
67
67
  "compat": {
@@ -69,16 +69,16 @@
69
69
  }
70
70
  },
71
71
  {
72
- "id": "zai-org/GLM-5.1",
73
- "name": "GLM-5.1",
72
+ "id": "zai-org/GLM-5.2",
73
+ "name": "GLM-5.2",
74
74
  "reasoning": true,
75
75
  "input": ["text"],
76
- "contextWindow": 202752,
77
- "maxTokens": 202752,
76
+ "contextWindow": 1048576,
77
+ "maxTokens": 1048576,
78
78
  "cost": {
79
- "input": 1.05,
80
- "output": 3.5,
81
- "cacheRead": 0.205000005,
79
+ "input": 0.93,
80
+ "output": 3,
81
+ "cacheRead": 0.18,
82
82
  "cacheWrite": 0
83
83
  },
84
84
  "compat": {
@@ -86,16 +86,16 @@
86
86
  }
87
87
  },
88
88
  {
89
- "id": "stepfun-ai/Step-3.5-Flash",
90
- "name": "Step 3.5 Flash",
91
- "reasoning": false,
92
- "input": ["text"],
89
+ "id": "stepfun-ai/Step-3.7-Flash",
90
+ "name": "Step 3.7 Flash",
91
+ "reasoning": true,
92
+ "input": ["text", "image"],
93
93
  "contextWindow": 262144,
94
94
  "maxTokens": 262144,
95
95
  "cost": {
96
- "input": 0.1,
97
- "output": 0.3,
98
- "cacheRead": 0.02,
96
+ "input": 0.2,
97
+ "output": 1.15,
98
+ "cacheRead": 0.04,
99
99
  "cacheWrite": 0
100
100
  },
101
101
  "compat": {
@@ -103,16 +103,16 @@
103
103
  }
104
104
  },
105
105
  {
106
- "id": "MiniMaxAI/MiniMax-M2.5",
107
- "name": "MiniMax M2.5",
106
+ "id": "moonshotai/Kimi-K2.7-Code",
107
+ "name": "Kimi K2.7 Code",
108
108
  "reasoning": true,
109
- "input": ["text"],
110
- "contextWindow": 196608,
111
- "maxTokens": 196608,
109
+ "input": ["text", "image"],
110
+ "contextWindow": 262144,
111
+ "maxTokens": 262144,
112
112
  "cost": {
113
- "input": 0.15,
114
- "output": 1.15,
115
- "cacheRead": 0.03,
113
+ "input": 0.74,
114
+ "output": 3.5,
115
+ "cacheRead": 0.15,
116
116
  "cacheWrite": 0
117
117
  },
118
118
  "compat": {
@@ -120,16 +120,33 @@
120
120
  }
121
121
  },
122
122
  {
123
- "id": "moonshotai/Kimi-K2.5",
124
- "name": "Kimi K2.5",
123
+ "id": "moonshotai/Kimi-K2.6",
124
+ "name": "Kimi K2.6",
125
125
  "reasoning": true,
126
126
  "input": ["text", "image"],
127
127
  "contextWindow": 262144,
128
128
  "maxTokens": 262144,
129
129
  "cost": {
130
- "input": 0.45,
131
- "output": 2.25,
132
- "cacheRead": 0.070000002,
130
+ "input": 0.75,
131
+ "output": 3.5,
132
+ "cacheRead": 0.15,
133
+ "cacheWrite": 0
134
+ },
135
+ "compat": {
136
+ "supportsUsageInStreaming": true
137
+ }
138
+ },
139
+ {
140
+ "id": "nvidia/NVIDIA-Nemotron-3-Ultra-550B-A55B",
141
+ "name": "NVIDIA Nemotron 3 Ultra 550B A55B",
142
+ "reasoning": true,
143
+ "input": ["text", "image"],
144
+ "contextWindow": 262144,
145
+ "maxTokens": 262144,
146
+ "cost": {
147
+ "input": 0.5,
148
+ "output": 2.2,
149
+ "cacheRead": 0.1,
133
150
  "cacheWrite": 0
134
151
  },
135
152
  "compat": {
@@ -144,8 +161,8 @@
144
161
  "contextWindow": 262144,
145
162
  "maxTokens": 262144,
146
163
  "cost": {
147
- "input": 0.1,
148
- "output": 0.5,
164
+ "input": 0.085,
165
+ "output": 0.4,
149
166
  "cacheRead": 0,
150
167
  "cacheWrite": 0
151
168
  },
@@ -154,16 +171,75 @@
154
171
  }
155
172
  },
156
173
  {
157
- "id": "meta-llama/Llama-3.3-70B-Instruct-Turbo",
158
- "name": "Llama 3.3 70B Instruct Turbo",
174
+ "id": "deepseek-ai/DeepSeek-V3.2",
175
+ "name": "DeepSeek V3.2",
176
+ "status": "deprecated",
177
+ "replacedBy": "deepseek-ai/DeepSeek-V4-Pro",
159
178
  "reasoning": false,
160
179
  "input": ["text"],
161
- "contextWindow": 131072,
162
- "maxTokens": 131072,
180
+ "contextWindow": 163840,
181
+ "maxTokens": 163840,
182
+ "cost": {
183
+ "input": 0.26,
184
+ "output": 0.38,
185
+ "cacheRead": 0.13,
186
+ "cacheWrite": 0
187
+ },
188
+ "compat": {
189
+ "supportsUsageInStreaming": true
190
+ }
191
+ },
192
+ {
193
+ "id": "zai-org/GLM-5.1",
194
+ "name": "GLM-5.1",
195
+ "status": "deprecated",
196
+ "replacedBy": "zai-org/GLM-5.2",
197
+ "reasoning": true,
198
+ "input": ["text"],
199
+ "contextWindow": 202752,
200
+ "maxTokens": 202752,
201
+ "cost": {
202
+ "input": 1.05,
203
+ "output": 3.5,
204
+ "cacheRead": 0.205000005,
205
+ "cacheWrite": 0
206
+ },
207
+ "compat": {
208
+ "supportsUsageInStreaming": true
209
+ }
210
+ },
211
+ {
212
+ "id": "stepfun-ai/Step-3.5-Flash",
213
+ "name": "Step 3.5 Flash",
214
+ "status": "deprecated",
215
+ "replacedBy": "stepfun-ai/Step-3.7-Flash",
216
+ "reasoning": true,
217
+ "input": ["text"],
218
+ "contextWindow": 262144,
219
+ "maxTokens": 262144,
163
220
  "cost": {
164
221
  "input": 0.1,
165
- "output": 0.32,
166
- "cacheRead": 0,
222
+ "output": 0.3,
223
+ "cacheRead": 0.02,
224
+ "cacheWrite": 0
225
+ },
226
+ "compat": {
227
+ "supportsUsageInStreaming": true
228
+ }
229
+ },
230
+ {
231
+ "id": "moonshotai/Kimi-K2.5",
232
+ "name": "Kimi K2.5",
233
+ "status": "deprecated",
234
+ "replacedBy": "moonshotai/Kimi-K2.6",
235
+ "reasoning": true,
236
+ "input": ["text", "image"],
237
+ "contextWindow": 262144,
238
+ "maxTokens": 262144,
239
+ "cost": {
240
+ "input": 0.45,
241
+ "output": 2.25,
242
+ "cacheRead": 0.070000002,
167
243
  "cacheWrite": 0
168
244
  },
169
245
  "compat": {
@@ -196,7 +272,7 @@
196
272
  ],
197
273
  "contracts": {
198
274
  "mediaUnderstandingProviders": ["deepinfra"],
199
- "memoryEmbeddingProviders": ["deepinfra"],
275
+ "embeddingProviders": ["deepinfra"],
200
276
  "imageGenerationProviders": ["deepinfra"],
201
277
  "speechProviders": ["deepinfra"],
202
278
  "videoGenerationProviders": ["deepinfra"]
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openclaw/deepinfra-provider",
3
- "version": "2026.7.2-beta.4",
3
+ "version": "2026.7.2-beta.5",
4
4
  "description": "OpenClaw DeepInfra 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.4"
21
+ "pluginApi": ">=2026.7.2-beta.5"
22
22
  },
23
23
  "build": {
24
- "openclawVersion": "2026.7.2-beta.4",
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.4"
41
+ "openclaw": ">=2026.7.2-beta.5"
43
42
  },
44
43
  "peerDependenciesMeta": {
45
44
  "openclaw": {
@@ -1,36 +0,0 @@
1
- import { DEFAULT_DEEPINFRA_EMBEDDING_MODEL, createDeepInfraEmbeddingProvider } from "./embedding-provider.js";
2
- import { isMissingEmbeddingApiKeyError } from "openclaw/plugin-sdk/memory-core-host-engine-embeddings";
3
- //#region extensions/deepinfra/memory-embedding-adapter.ts
4
- function buildDeepInfraMemoryEmbeddingAdapter(options) {
5
- const defaultModel = options?.embedModels?.[0]?.id ?? DEFAULT_DEEPINFRA_EMBEDDING_MODEL;
6
- return {
7
- id: "deepinfra",
8
- defaultModel,
9
- transport: "remote",
10
- authProviderId: "deepinfra",
11
- autoSelectPriority: 55,
12
- allowExplicitWhenConfiguredAuto: true,
13
- shouldContinueAutoSelection: isMissingEmbeddingApiKeyError,
14
- create: async (createOptions) => {
15
- const { provider, client } = await createDeepInfraEmbeddingProvider({
16
- ...createOptions,
17
- provider: "deepinfra",
18
- fallback: "none",
19
- defaultModel
20
- });
21
- return {
22
- provider,
23
- runtime: {
24
- id: "deepinfra",
25
- cacheKeyData: {
26
- provider: "deepinfra",
27
- model: client.model
28
- }
29
- }
30
- };
31
- }
32
- };
33
- }
34
- const deepinfraMemoryEmbeddingProviderAdapter = buildDeepInfraMemoryEmbeddingAdapter();
35
- //#endregion
36
- export { buildDeepInfraMemoryEmbeddingAdapter, deepinfraMemoryEmbeddingProviderAdapter };
@@ -1,12 +0,0 @@
1
- {
2
- "name": "@openclaw/deepinfra-provider",
3
- "version": "2026.7.2-beta.4",
4
- "lockfileVersion": 3,
5
- "requires": true,
6
- "packages": {
7
- "": {
8
- "name": "@openclaw/deepinfra-provider",
9
- "version": "2026.7.2-beta.4"
10
- }
11
- }
12
- }