Skip to content

A self-improving RLM agent for coding workflows and long-running autonomous tasks.

Rust

fix(ai): keep the Opus 5.5 test biome-canonical and net-zero for the 1:1 policy (#2560)

Seth Karten346a463daaf6
diff --git a/packages/ai/test/anthropic-thinking-disable.test.ts b/packages/ai/test/anthropic-thinking-disable.test.ts
index 58872fb423..b1050edda7 100644
--- a/packages/ai/test/anthropic-thinking-disable.test.ts
+++ b/packages/ai/test/anthropic-thinking-disable.test.ts
@@ -151,11 +151,11 @@ describe("Anthropic thinking disable payload", () => {
expect(payload.output_config).toEqual({ effort: "max" });
});
- // Opus 5.5 ships via the remote catalog and the snapshot's Opus 5 entry is a
- // prime-inference openai-completions variant, so use the release id (the
- // always-on logic keys on it) over a registered Anthropic surface.
+ // Opus 5.5 ships via the catalog and the snapshot's Opus 5 entry is an
+ // openai-completions variant: use the release id over an Anthropic surface.
it("omits thinking disabled and temperature for Claude Opus 5.5", async () => {
- const opus55: Model<"anthropic-messages"> = { ...getModel("anthropic", "claude-fable-5")!, id: "claude-opus-5-5" };
+ const base = getModel("anthropic", "claude-fable-5")!;
+ const opus55: Model<"anthropic-messages"> = { ...base, id: "claude-opus-5-5" };
const payload = await capturePayload(opus55, { temperature: 0.5 });
expect(payload.thinking).toBeUndefined();
expect(payload.temperature).toBeUndefined();