Skip to content

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

Rust

fix(ai): give the Opus 5.5 payload test a compilable, registered surface (#2555)

Seth Kartenb11fd5e2d05b
diff --git a/packages/ai/test/anthropic-thinking-disable.test.ts b/packages/ai/test/anthropic-thinking-disable.test.ts
index a5b226bf85..58872fb423 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" });
});
- // Claude Opus 5.5 ships through the remote catalog (the compiled snapshot
- // does not carry the id), so this uses the release id over the Opus 5
- // surface: it rejects thinking disabled and sampling params with a 400.
+ // 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.
it("omits thinking disabled and temperature for Claude Opus 5.5", async () => {
- const opus55: Model<"anthropic-messages"> = { ...getModel("anthropic", "claude-opus-5"), id: "claude-opus-5-5" };
+ const opus55: Model<"anthropic-messages"> = { ...getModel("anthropic", "claude-fable-5")!, id: "claude-opus-5-5" };
const payload = await capturePayload(opus55, { temperature: 0.5 });
expect(payload.thinking).toBeUndefined();
expect(payload.temperature).toBeUndefined();