From 7c57c4a72d1159ae946f50e64346a70945940341 Mon Sep 17 00:00:00 2001 From: Peter Steinberger Date: Wed, 21 Jan 2026 03:52:52 +0000 Subject: [PATCH] fix: align authProfileIdSource in fallback test (#1350) (thanks @Jackten) --- CHANGELOG.md | 1 + .../reply/agent-runner.authprofileid-fallback.test.ts | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 38dfb57db..c971b8822 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -23,6 +23,7 @@ Docs: https://docs.clawd.bot - Docs: clarify WhatsApp voice notes and Windows WSL portproxy LAN access notes. - UI: add copy-as-markdown with error feedback and drop legacy list view. (#1345) — thanks @bradleypriest. ### Fixes +- Tests: cover auth profile scoping when model fallback switches providers. (#1350) — thanks @Jackten. - Discovery: shorten Bonjour DNS-SD service type to `_clawdbot-gw._tcp` and update discovery clients/docs. - Agents: preserve subagent announce thread/topic routing + queued replies across channels. (#1241) — thanks @gnarco. - Agents: avoid treating timeout errors with "aborted" messages as user aborts, so model fallback still runs. diff --git a/src/auto-reply/reply/agent-runner.authprofileid-fallback.test.ts b/src/auto-reply/reply/agent-runner.authprofileid-fallback.test.ts index 419da8d4d..c2e4a9029 100644 --- a/src/auto-reply/reply/agent-runner.authprofileid-fallback.test.ts +++ b/src/auto-reply/reply/agent-runner.authprofileid-fallback.test.ts @@ -63,7 +63,7 @@ function createBaseRun(params: { runOverrides?: Partial }) { provider: "anthropic", model: "claude-opus", authProfileId: "anthropic:clawd", - authProfileIdSource: "manual", + authProfileIdSource: "user", thinkLevel: "low", verboseLevel: "off", elevatedLevel: "off", @@ -106,7 +106,7 @@ describe("authProfileId fallback scoping", () => { provider: "anthropic", model: "claude-opus", authProfileId: "anthropic:clawd", - authProfileIdSource: "manual", + authProfileIdSource: "user", }, });