theclawbay 0.4.0 → 0.4.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.
|
@@ -367,6 +367,12 @@ async function writeOpenCodeFamilyConfig(params) {
|
|
|
367
367
|
doc.plugin = pluginFilter.next;
|
|
368
368
|
}
|
|
369
369
|
const managedOpenAiProvider = (0, fsx_1.objectRecordOr)(providerRoot[providers_1.OPENAI_PROVIDER_ID], {});
|
|
370
|
+
// Pin the AI SDK package: without this, recent OpenCode resolves provider
|
|
371
|
+
// "openai" to @ai-sdk/openai, which defaults to the Responses API — the
|
|
372
|
+
// relay only serves GPT-family models there, so Gemini/community models
|
|
373
|
+
// fail with "not supported on v1/responses". openai-compatible always
|
|
374
|
+
// uses chat completions, which serves every relay model.
|
|
375
|
+
managedOpenAiProvider.npm = "@ai-sdk/openai-compatible";
|
|
370
376
|
const optionsRoot = (0, fsx_1.objectRecordOr)(managedOpenAiProvider.options, {});
|
|
371
377
|
optionsRoot.baseURL = (0, urls_1.openAiCompatibleProxyUrl)(params.backendUrl);
|
|
372
378
|
optionsRoot.apiKey = params.apiKey;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "theclawbay",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.1",
|
|
4
4
|
"description": "CLI for connecting Codex, Hermes Agent, Gemini-compatible apps, Continue, Cline, GSD, OpenClaw, OpenCode, Kilo, Roo Code, Aider, experimental Trae, and experimental Zo to The Claw Bay.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|