fix: align authProfileIdSource in fallback test (#1350) (thanks @Jackten)

This commit is contained in:
Peter Steinberger 2026-01-21 03:52:52 +00:00
parent e56e0d4ee7
commit 7c57c4a72d
2 changed files with 3 additions and 2 deletions

View File

@ -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.

View File

@ -63,7 +63,7 @@ function createBaseRun(params: { runOverrides?: Partial<FollowupRun["run"]> }) {
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",
},
});