@ouro.bot/cli 0.1.0-alpha.355 → 0.1.0-alpha.356
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.json +6 -0
- package/dist/heart/provider-ping.js +6 -1
- package/package.json +1 -1
package/changelog.json
CHANGED
|
@@ -1,6 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"_note": "This changelog is maintained as part of the PR/version-bump workflow. Agent-curated, not auto-generated. Agents read this file directly via read_file to understand what changed between versions.",
|
|
3
3
|
"versions": [
|
|
4
|
+
{
|
|
5
|
+
"version": "0.1.0-alpha.356",
|
|
6
|
+
"changes": [
|
|
7
|
+
"Provider ping for github-copilot GPT models (e.g. gpt-5.4) now uses the Responses API instead of chat completions, fixing `400 Unsupported parameter: 'max_tokens'` errors during live checks."
|
|
8
|
+
]
|
|
9
|
+
},
|
|
4
10
|
{
|
|
5
11
|
"version": "0.1.0-alpha.355",
|
|
6
12
|
"changes": [
|
|
@@ -213,8 +213,13 @@ async function pingProvider(provider, config, options = {}) {
|
|
|
213
213
|
toolChoiceRequired: false,
|
|
214
214
|
});
|
|
215
215
|
}
|
|
216
|
+
else if (provider === "github-copilot" && !runtime.model.startsWith("claude")) {
|
|
217
|
+
// GPT models on Copilot use the Responses API
|
|
218
|
+
const client = runtime.client;
|
|
219
|
+
await client.responses.create(createResponsePingRequest(runtime.model), { signal: controller.signal });
|
|
220
|
+
}
|
|
216
221
|
else {
|
|
217
|
-
// OpenAI-compatible providers (azure, minimax, github-copilot)
|
|
222
|
+
// OpenAI-compatible providers (azure, minimax, github-copilot claude)
|
|
218
223
|
const client = runtime.client;
|
|
219
224
|
await client.chat.completions.create(createChatPingRequest(runtime.model), { signal: controller.signal });
|
|
220
225
|
}
|