@openclaw/groq-provider 2026.9.5 → 2026.9.7
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/assets/icon.png +0 -0
- package/dist/index.js +2 -14
- package/package.json +4 -4
package/assets/icon.png
CHANGED
|
Binary file
|
package/dist/index.js
CHANGED
|
@@ -2,6 +2,7 @@ import { groqMediaUnderstandingProvider } from "./media-understanding-provider.j
|
|
|
2
2
|
import { t as openclaw_plugin_default } from "./.setup/openclaw.plugin-D8U6uSHC.mjs";
|
|
3
3
|
import { createAssistantMessageEventStream, streamSimple } from "openclaw/plugin-sdk/llm";
|
|
4
4
|
import { defineSingleProviderPluginEntry } from "openclaw/plugin-sdk/provider-entry";
|
|
5
|
+
import { createEmptyTransportUsage } from "openclaw/plugin-sdk/provider-transport-runtime";
|
|
5
6
|
//#region extensions/groq/index.ts
|
|
6
7
|
const GROQ_OVERSIZED_RECOVERY_MODEL_ID = "llama-3.3-70b-versatile";
|
|
7
8
|
const GROQ_FALLBACK_MAX_TOKENS = 1024;
|
|
@@ -71,20 +72,7 @@ function wrapGroqOversizedRequestRecovery(streamFn, enabled) {
|
|
|
71
72
|
api: model.api,
|
|
72
73
|
provider: model.provider,
|
|
73
74
|
model: model.id,
|
|
74
|
-
usage:
|
|
75
|
-
input: 0,
|
|
76
|
-
output: 0,
|
|
77
|
-
cacheRead: 0,
|
|
78
|
-
cacheWrite: 0,
|
|
79
|
-
totalTokens: 0,
|
|
80
|
-
cost: {
|
|
81
|
-
input: 0,
|
|
82
|
-
output: 0,
|
|
83
|
-
cacheRead: 0,
|
|
84
|
-
cacheWrite: 0,
|
|
85
|
-
total: 0
|
|
86
|
-
}
|
|
87
|
-
},
|
|
75
|
+
usage: createEmptyTransportUsage(),
|
|
88
76
|
stopReason: "error",
|
|
89
77
|
errorMessage: error instanceof Error ? error.message : String(error),
|
|
90
78
|
timestamp: Date.now()
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@openclaw/groq-provider",
|
|
3
|
-
"version": "2026.9.
|
|
3
|
+
"version": "2026.9.7",
|
|
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.9.
|
|
21
|
+
"pluginApi": ">=2026.9.7"
|
|
22
22
|
},
|
|
23
23
|
"build": {
|
|
24
|
-
"openclawVersion": "2026.9.
|
|
24
|
+
"openclawVersion": "2026.9.7",
|
|
25
25
|
"bundledDist": false
|
|
26
26
|
},
|
|
27
27
|
"release": {
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
"assets/activity.svg"
|
|
41
41
|
],
|
|
42
42
|
"peerDependencies": {
|
|
43
|
-
"openclaw": ">=2026.9.
|
|
43
|
+
"openclaw": ">=2026.9.7"
|
|
44
44
|
},
|
|
45
45
|
"peerDependenciesMeta": {
|
|
46
46
|
"openclaw": {
|