fix(ai): omit disabled thinking for Claude Fable 5
This commit is contained in:
@@ -132,6 +132,13 @@ describe("Anthropic thinking disable payload", () => {
|
||||
expect(payload.output_config).toBeUndefined();
|
||||
});
|
||||
|
||||
it("omits thinking.type=disabled for Claude Fable 5 when thinking is off", async () => {
|
||||
const payload = await capturePayload(getModel("anthropic", "claude-fable-5"));
|
||||
|
||||
expect(payload.thinking).toBeUndefined();
|
||||
expect(payload.output_config).toBeUndefined();
|
||||
});
|
||||
|
||||
it("uses adaptive thinking for Claude Opus 4.8 when reasoning is enabled", async () => {
|
||||
const payload = await capturePayload(getModel("anthropic", "claude-opus-4-8"), { reasoning: "high" });
|
||||
|
||||
|
||||
Reference in New Issue
Block a user