@testchimp/cli 0.1.42 → 0.1.43
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/chimphands/run.js +2 -1
- package/package.json +1 -1
package/dist/chimphands/run.js
CHANGED
|
@@ -305,6 +305,7 @@ function writeOpencodeConfig(backend, apiKey, boot) {
|
|
|
305
305
|
"X-TestChimp-ChimpHands-Session-Id": sessionId,
|
|
306
306
|
};
|
|
307
307
|
}
|
|
308
|
+
// @ai-sdk/openai uses /v1/responses (tools + reasoning). openai-compatible is chat-only.
|
|
308
309
|
writeFileSync("opencode.json", JSON.stringify({
|
|
309
310
|
$schema: "https://opencode.ai/config.json",
|
|
310
311
|
model,
|
|
@@ -312,7 +313,7 @@ function writeOpencodeConfig(backend, apiKey, boot) {
|
|
|
312
313
|
autoupdate: false,
|
|
313
314
|
provider: {
|
|
314
315
|
[TESTCHIMP_PROVIDER_ID]: {
|
|
315
|
-
npm: "@ai-sdk/openai
|
|
316
|
+
npm: "@ai-sdk/openai",
|
|
316
317
|
name: "TestChimp",
|
|
317
318
|
options: providerOptions,
|
|
318
319
|
models: {
|
package/package.json
CHANGED