@openclaw/groq-provider 2026.8.1-beta.2 → 2026.9.1-beta.1
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/index.js +4 -5
- package/package.json +4 -4
package/dist/index.js
CHANGED
|
@@ -212,7 +212,6 @@ function wrapGroqOversizedRequestRecovery(streamFn, enabled) {
|
|
|
212
212
|
if (options?.maxTokens !== void 0) return underlying(model, context, options);
|
|
213
213
|
const initial = underlying(model, context, options);
|
|
214
214
|
const output = createAssistantMessageEventStream();
|
|
215
|
-
const writable = output;
|
|
216
215
|
(async () => {
|
|
217
216
|
try {
|
|
218
217
|
const resolvedInitial = await Promise.resolve(initial);
|
|
@@ -223,15 +222,15 @@ function wrapGroqOversizedRequestRecovery(streamFn, enabled) {
|
|
|
223
222
|
retryWithoutTools = true;
|
|
224
223
|
break;
|
|
225
224
|
}
|
|
226
|
-
|
|
225
|
+
output.push(event);
|
|
227
226
|
forwarded = true;
|
|
228
227
|
}
|
|
229
228
|
if (retryWithoutTools) {
|
|
230
229
|
const fallback = await Promise.resolve(withoutTools(model, context, options));
|
|
231
|
-
for await (const event of fallback)
|
|
230
|
+
for await (const event of fallback) output.push(event);
|
|
232
231
|
}
|
|
233
232
|
} catch (error) {
|
|
234
|
-
|
|
233
|
+
output.push({
|
|
235
234
|
type: "error",
|
|
236
235
|
reason: "error",
|
|
237
236
|
error: {
|
|
@@ -260,7 +259,7 @@ function wrapGroqOversizedRequestRecovery(streamFn, enabled) {
|
|
|
260
259
|
}
|
|
261
260
|
});
|
|
262
261
|
} finally {
|
|
263
|
-
|
|
262
|
+
output.end();
|
|
264
263
|
}
|
|
265
264
|
})();
|
|
266
265
|
return output;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@openclaw/groq-provider",
|
|
3
|
-
"version": "2026.
|
|
3
|
+
"version": "2026.9.1-beta.1",
|
|
4
4
|
"description": "OpenClaw Groq media-understanding provider.",
|
|
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.
|
|
21
|
+
"pluginApi": ">=2026.9.1-beta.1"
|
|
22
22
|
},
|
|
23
23
|
"build": {
|
|
24
|
-
"openclawVersion": "2026.
|
|
24
|
+
"openclawVersion": "2026.9.1-beta.1",
|
|
25
25
|
"bundledDist": false
|
|
26
26
|
},
|
|
27
27
|
"release": {
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
"README.md"
|
|
39
39
|
],
|
|
40
40
|
"peerDependencies": {
|
|
41
|
-
"openclaw": ">=2026.
|
|
41
|
+
"openclaw": ">=2026.9.1-beta.1"
|
|
42
42
|
},
|
|
43
43
|
"peerDependenciesMeta": {
|
|
44
44
|
"openclaw": {
|