diff --git a/extensions/openrouter/index.test.ts b/extensions/openrouter/index.test.ts index 78048ec7ae5f..c98d7cc3d921 100644 --- a/extensions/openrouter/index.test.ts +++ b/extensions/openrouter/index.test.ts @@ -551,8 +551,8 @@ describe("openrouter provider hooks", () => { }, } as never); - expect(contribution?.dynamicSuffix).toContain("Analysis models: agent/model."); - expect(contribution?.dynamicSuffix).not.toContain("default/model"); + expect(contribution?.dynamicSuffix).toContain("Analysis models: default/model."); + expect(contribution?.dynamicSuffix).not.toContain("agent/model"); }); it("matches transport alias precedence for Fusion extra body", async () => { diff --git a/extensions/openrouter/index.ts b/extensions/openrouter/index.ts index 7672584a4725..e26bd61dfcf7 100644 --- a/extensions/openrouter/index.ts +++ b/extensions/openrouter/index.ts @@ -158,7 +158,6 @@ function resolveFusionExtraBody( readRecord(ctx.config?.agents?.defaults?.params), findConfiguredOpenRouterModelParams(ctx.config?.agents?.defaults?.models, ctx.modelId), readRecord(agentConfig?.params), - findConfiguredOpenRouterModelParams(agentConfig?.models, ctx.modelId), ]; let effective: Record | undefined; for (const source of sources) { diff --git a/src/auto-reply/commands-registry.test.ts b/src/auto-reply/commands-registry.test.ts index 488f7d818deb..2965f68460c2 100644 --- a/src/auto-reply/commands-registry.test.ts +++ b/src/auto-reply/commands-registry.test.ts @@ -572,7 +572,7 @@ describe("commands registry", () => { expect(menu.choices).toEqual([ { label: "on", value: "on" }, { label: "off", value: "off" }, - { label: "auto (15 sec)", value: "auto" }, + { label: "auto (20 sec)", value: "auto" }, { label: "default", value: "default" }, { label: "status", value: "status" }, ]); diff --git a/src/auto-reply/reply/memory-flush.test.ts b/src/auto-reply/reply/memory-flush.test.ts index 872677c923c1..cdfa4c8b2408 100644 --- a/src/auto-reply/reply/memory-flush.test.ts +++ b/src/auto-reply/reply/memory-flush.test.ts @@ -306,7 +306,7 @@ describe("Anthropic server compaction host threshold", () => { ).toBe(expected); }); - it("uses the selected agent context window for the fallback threshold", () => { + it("uses the resolved Anthropic context window for the fallback threshold", () => { const cfg: OpenClawConfig = { agents: { defaults: {