fix(ai): update generated model catalogue

This commit is contained in:
Mario Zechner
2026-06-30 22:12:48 +02:00
parent fd6659dd5d
commit 5c1a2977bc
12 changed files with 215 additions and 82 deletions
@@ -145,6 +145,13 @@ describe("Anthropic thinking disable payload", () => {
expect(payload.output_config).toEqual({ effort: "high" });
});
it("uses adaptive thinking for Claude Sonnet 5 when reasoning is enabled", async () => {
const payload = await capturePayload(getModel("anthropic", "claude-sonnet-5"), { reasoning: "high" });
expect(payload.thinking).toEqual({ type: "adaptive", display: "summarized" });
expect(payload.output_config).toEqual({ effort: "high" });
});
it("maps xhigh reasoning to effort=xhigh for Claude Opus 4.8", async () => {
const payload = await capturePayload(getModel("anthropic", "claude-opus-4-8"), { reasoning: "xhigh" });