From 7842109609308f7e3d269309377812b364430212 Mon Sep 17 00:00:00 2001 From: Peter Steinberger Date: Fri, 9 Jan 2026 05:17:27 +0000 Subject: [PATCH] fix: report auth label from configured order --- src/auto-reply/reply/commands.ts | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/auto-reply/reply/commands.ts b/src/auto-reply/reply/commands.ts index 88e744c0e..31ef07b86 100644 --- a/src/auto-reply/reply/commands.ts +++ b/src/auto-reply/reply/commands.ts @@ -219,16 +219,13 @@ function resolveModelAuthLabel( const providerKey = normalizeProviderId(resolved); const store = ensureAuthProfileStore(); const profileOverride = sessionEntry?.authProfileOverride?.trim(); - const lastGood = store.lastGood?.[providerKey] ?? store.lastGood?.[resolved]; const order = resolveAuthProfileOrder({ cfg, store, provider: providerKey, preferredProfile: profileOverride, }); - const candidates = [profileOverride, lastGood, ...order].filter( - Boolean, - ) as string[]; + const candidates = [profileOverride, ...order].filter(Boolean) as string[]; for (const profileId of candidates) { const profile = store.profiles[profileId];