@warlock.js/ai-groq 5.34.1 → 5.34.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/CHANGELOG.md +6 -0
- package/README.md +1 -1
- package/llms-full.txt +6 -6
- package/llms.txt +1 -1
- package/package.json +4 -4
- package/skills/{setup-groq/SKILL.md → SKILL.md} +5 -5
package/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,12 @@ All notable changes to `@warlock.js/ai-groq` are documented in this file.
|
|
|
4
4
|
|
|
5
5
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/). `@warlock.js/*` packages are released in lockstep — every package shares the same version number, so a version below may list only the changes that affected this package.
|
|
6
6
|
|
|
7
|
+
## 5.34.3 - 2026-10-20
|
|
8
|
+
|
|
9
|
+
### Changed
|
|
10
|
+
|
|
11
|
+
- The agent skill now exports as `warlock-js-ai-groq`; package discovery descriptions stay within 450 characters.
|
|
12
|
+
|
|
7
13
|
## 5.32.0 - 2026-10-18
|
|
8
14
|
|
|
9
15
|
### Changed
|
package/README.md
CHANGED
|
@@ -108,7 +108,7 @@ Resolution at `model()` time: per-model `pricing` > SDK-level `pricing[name]` >
|
|
|
108
108
|
|
|
109
109
|
## Setup skill
|
|
110
110
|
|
|
111
|
-
For agent wiring, capability inference, reasoning, and pricing detail, see the bundled setup skill: [`skills/
|
|
111
|
+
For agent wiring, capability inference, reasoning, and pricing detail, see the bundled setup skill: [`skills/SKILL.md`](./skills/SKILL.md).
|
|
112
112
|
|
|
113
113
|
## Tests
|
|
114
114
|
|
package/llms-full.txt
CHANGED
|
@@ -4,11 +4,11 @@
|
|
|
4
4
|
|
|
5
5
|
> Generated artifact. Concatenates every SKILL.md and reference file under `@warlock.js/ai-groq/skills/`. Re-run `node scripts/generate-llms.mjs` after any change.
|
|
6
6
|
|
|
7
|
-
##
|
|
7
|
+
## ai-groq `@warlock.js/ai-groq/skills/SKILL.md`
|
|
8
8
|
|
|
9
9
|
---
|
|
10
|
-
name:
|
|
11
|
-
description: '
|
|
10
|
+
name: warlock-js-ai-groq
|
|
11
|
+
description: 'Groq adapter for Warlock AI: `GroqSDK`, `GROQ_KNOWN_MODELS`, `GROQ_DEFAULT_PRICING`, `inferVisionCapability` and `inferReasoningCapability`. Use for "connect Groq", fast chat, streaming, tools, model capabilities or pricing overrides through `sdk.model()`. Not this package → @warlock.js/ai for agents and custom tools; @warlock.js/ai-openai for generic OpenAI-compatible endpoints.'
|
|
12
12
|
---
|
|
13
13
|
|
|
14
14
|
# `@warlock.js/ai-groq`
|
|
@@ -72,7 +72,7 @@ await model.complete(messages, { reasoning: { effort: "high" } }); // → reason
|
|
|
72
72
|
|
|
73
73
|
## Structured output & streaming
|
|
74
74
|
|
|
75
|
-
Inherited unchanged from `@warlock.js/ai-openai`: a `responseSchema` maps to `response_format: json_schema` (strict) when the schema is a proper root object, else loose `json_object`; `model.stream()` drains the streaming Chat Completions response and yields `delta` / `tool-call` / `done` chunks with `include_usage` on. See the `
|
|
75
|
+
Inherited unchanged from `@warlock.js/ai-openai`: a `responseSchema` maps to `response_format: json_schema` (strict) when the schema is a proper root object, else loose `json_object`; `model.stream()` drains the streaming Chat Completions response and yields `delta` / `tool-call` / `done` chunks with `include_usage` on. See the `warlock-js-ai-openai` skill for the full wire behavior.
|
|
76
76
|
|
|
77
77
|
## Embeddings — not available on Groq
|
|
78
78
|
|
|
@@ -124,12 +124,12 @@ Raw errors are wrapped into the typed `@warlock.js/ai` `AIError` hierarchy by th
|
|
|
124
124
|
## When NOT to use this skill
|
|
125
125
|
|
|
126
126
|
- Embeddings or image generation — Groq has neither; use `@warlock.js/ai-openai` / `@warlock.js/ai-google`.
|
|
127
|
-
- OpenAI / Azure / OpenRouter — use
|
|
127
|
+
- OpenAI / Azure / OpenRouter — use the `warlock-js-ai-openai` skill; this wraps it but for Groq specifically.
|
|
128
128
|
- Anthropic — `@warlock.js/ai-anthropic`. Bedrock — `@warlock.js/ai-bedrock`. Gemini — `@warlock.js/ai-google`. Local Ollama — `@warlock.js/ai-ollama`.
|
|
129
129
|
|
|
130
130
|
## See also
|
|
131
131
|
|
|
132
|
-
- The `
|
|
132
|
+
- The `warlock-js-ai-openai` skill — the wrapped adapter; full wire / streaming / structured-output detail
|
|
133
133
|
- The `run-ai-agent` topic of the `warlock-js-ai` skill — passing the model into `ai.agent({...})`
|
|
134
134
|
- The `pick-ai-provider` topic of the `warlock-js-ai` skill — adapter comparison
|
|
135
135
|
|
package/llms.txt
CHANGED
|
@@ -6,4 +6,4 @@
|
|
|
6
6
|
|
|
7
7
|
## Skills
|
|
8
8
|
|
|
9
|
-
- [
|
|
9
|
+
- [ai-groq](@warlock.js/ai-groq/skills/SKILL.md): Groq adapter for Warlock AI: `GroqSDK`, `GROQ_KNOWN_MODELS`, `GROQ_DEFAULT_PRICING`, `inferVisionCapability` and `inferReasoningCapability`. Use for "connect Groq", fast chat, streaming, tools, model capabilities or pricing overrides through `sdk.model()`. Not this package → @warlock.js/ai for agents and custom tools; @warlock.js/ai-openai for generic OpenAI-compatible endpoints.
|
package/package.json
CHANGED
|
@@ -16,13 +16,13 @@
|
|
|
16
16
|
"directory": "packages/ai-groq"
|
|
17
17
|
},
|
|
18
18
|
"peerDependencies": {
|
|
19
|
-
"@warlock.js/ai": "5.34.
|
|
19
|
+
"@warlock.js/ai": "5.34.3"
|
|
20
20
|
},
|
|
21
21
|
"dependencies": {
|
|
22
|
-
"@warlock.js/ai-openai": "5.34.
|
|
23
|
-
"@warlock.js/logger": "5.34.
|
|
22
|
+
"@warlock.js/ai-openai": "5.34.3",
|
|
23
|
+
"@warlock.js/logger": "5.34.3"
|
|
24
24
|
},
|
|
25
|
-
"version": "5.34.
|
|
25
|
+
"version": "5.34.3",
|
|
26
26
|
"main": "./cjs/index.cjs",
|
|
27
27
|
"module": "./esm/index.mjs",
|
|
28
28
|
"types": "./esm/index.d.mts",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
|
-
name:
|
|
3
|
-
description: '
|
|
2
|
+
name: warlock-js-ai-groq
|
|
3
|
+
description: 'Groq adapter for Warlock AI: `GroqSDK`, `GROQ_KNOWN_MODELS`, `GROQ_DEFAULT_PRICING`, `inferVisionCapability` and `inferReasoningCapability`. Use for "connect Groq", fast chat, streaming, tools, model capabilities or pricing overrides through `sdk.model()`. Not this package → @warlock.js/ai for agents and custom tools; @warlock.js/ai-openai for generic OpenAI-compatible endpoints.'
|
|
4
4
|
---
|
|
5
5
|
|
|
6
6
|
# `@warlock.js/ai-groq`
|
|
@@ -64,7 +64,7 @@ await model.complete(messages, { reasoning: { effort: "high" } }); // → reason
|
|
|
64
64
|
|
|
65
65
|
## Structured output & streaming
|
|
66
66
|
|
|
67
|
-
Inherited unchanged from `@warlock.js/ai-openai`: a `responseSchema` maps to `response_format: json_schema` (strict) when the schema is a proper root object, else loose `json_object`; `model.stream()` drains the streaming Chat Completions response and yields `delta` / `tool-call` / `done` chunks with `include_usage` on. See the `
|
|
67
|
+
Inherited unchanged from `@warlock.js/ai-openai`: a `responseSchema` maps to `response_format: json_schema` (strict) when the schema is a proper root object, else loose `json_object`; `model.stream()` drains the streaming Chat Completions response and yields `delta` / `tool-call` / `done` chunks with `include_usage` on. See the `warlock-js-ai-openai` skill for the full wire behavior.
|
|
68
68
|
|
|
69
69
|
## Embeddings — not available on Groq
|
|
70
70
|
|
|
@@ -116,12 +116,12 @@ Raw errors are wrapped into the typed `@warlock.js/ai` `AIError` hierarchy by th
|
|
|
116
116
|
## When NOT to use this skill
|
|
117
117
|
|
|
118
118
|
- Embeddings or image generation — Groq has neither; use `@warlock.js/ai-openai` / `@warlock.js/ai-google`.
|
|
119
|
-
- OpenAI / Azure / OpenRouter — use
|
|
119
|
+
- OpenAI / Azure / OpenRouter — use the `warlock-js-ai-openai` skill; this wraps it but for Groq specifically.
|
|
120
120
|
- Anthropic — `@warlock.js/ai-anthropic`. Bedrock — `@warlock.js/ai-bedrock`. Gemini — `@warlock.js/ai-google`. Local Ollama — `@warlock.js/ai-ollama`.
|
|
121
121
|
|
|
122
122
|
## See also
|
|
123
123
|
|
|
124
|
-
- The `
|
|
124
|
+
- The `warlock-js-ai-openai` skill — the wrapped adapter; full wire / streaming / structured-output detail
|
|
125
125
|
- The `run-ai-agent` topic of the `warlock-js-ai` skill — passing the model into `ai.agent({...})`
|
|
126
126
|
- The `pick-ai-provider` topic of the `warlock-js-ai` skill — adapter comparison
|
|
127
127
|
|