jeo-code 0.7.10 → 0.7.13
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/package.json
CHANGED
|
@@ -135,7 +135,7 @@ function anthropicThinkingMode(model: string): AnthropicThinkingMode {
|
|
|
135
135
|
const v = parseAnthropicVersion(model);
|
|
136
136
|
if (!v) return "budget";
|
|
137
137
|
if (v.major > 4 || (v.major === 4 && v.minor >= 6)) return "adaptive";
|
|
138
|
-
|
|
138
|
+
|
|
139
139
|
return "budget";
|
|
140
140
|
}
|
|
141
141
|
|
|
@@ -266,7 +266,7 @@ export function anthropicPayload(
|
|
|
266
266
|
// Budget-based extended thinking. `display: "summarized"` keeps human-readable thought
|
|
267
267
|
// streaming. The 4.5 (budget-effort) transport also carries an output_config effort.
|
|
268
268
|
payload.thinking = { type: "enabled", budget_tokens: thinkingBudget, display: "summarized" };
|
|
269
|
-
|
|
269
|
+
|
|
270
270
|
}
|
|
271
271
|
} else if (includeTemperature && options.temperature !== undefined) {
|
|
272
272
|
payload.temperature = options.temperature;
|
|
@@ -281,6 +281,7 @@ export function anthropicPayload(
|
|
|
281
281
|
if (stream) payload.stream = true;
|
|
282
282
|
const system = anthropicSystemBlocks(systemPrompt, model, credential, payload);
|
|
283
283
|
if (system) payload.system = system;
|
|
284
|
+
console.log("PAYLOAD:", JSON.stringify(payload));
|
|
284
285
|
return JSON.stringify(payload);
|
|
285
286
|
}
|
|
286
287
|
|