@2kw/ai 6.3.0-dev.96 → 6.3.0-dev.98
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/commands/ai.js
CHANGED
|
@@ -125,13 +125,7 @@ export function makeAiCommand() {
|
|
|
125
125
|
if (opts.conversation)
|
|
126
126
|
body.conversation = opts.conversation;
|
|
127
127
|
const client = getClient(command);
|
|
128
|
-
const { data } = await withSpinner("Generating response...", () =>
|
|
129
|
-
// The wire `input` field also accepts a bare string (shorthand for
|
|
130
|
-
// a single user message; see ResponseItemInputDeserializer), which
|
|
131
|
-
// the generated type does not model — hence the cast, same as the
|
|
132
|
-
// untyped convert.ts source-conversion calls.
|
|
133
|
-
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
134
|
-
client.POST("/v1/responses", { body }));
|
|
128
|
+
const { data } = await withSpinner("Generating response...", () => client.POST("/v1/responses", { body }));
|
|
135
129
|
printResponseResult(data, command, opts.agent);
|
|
136
130
|
});
|
|
137
131
|
});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@2kw/ai",
|
|
3
|
-
"version": "6.3.0-dev.
|
|
3
|
+
"version": "6.3.0-dev.98",
|
|
4
4
|
"description": "CLI for 2kw.ai — schema-driven document extraction, an OpenAI-compatible EU LLM gateway, transcription, prompts, datasets, and experiments from your terminal or agentic workflows. Ships as 2kw, backbone, and bb.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"cli",
|