App: Claude account auto-switch setting; the limit banner leaves a refusal the server is continuing alone
The Claude account dialog shows 'Auto-switch account when usage runs out' (claude_account_auto_switch) when the server reports it. The usage-limit banner schedules no auto-continue while the server's auto-switch continue prompt is queued. A chat refused after another chat already switched the Claude home gets a fresh switch stamp, so its banner clears too. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -158,7 +158,7 @@ func refusalKey(refusal claude.UsageRefusal) string {
|
||||
|
||||
// claim reports whether refusal is new, remembering it.
|
||||
func (s *chatAutoSwitchState) claim(refusal claude.UsageRefusal) bool {
|
||||
key := refusal.SessionID + "\x00" + refusal.TurnID
|
||||
key := refusal.SessionID + "\x00" + refusal.TurnID + "\x00" + refusal.MessageID
|
||||
s.mu.Lock()
|
||||
defer s.mu.Unlock()
|
||||
if s.handled[key] {
|
||||
|
||||
Reference in New Issue
Block a user