You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(ai-chat): preserve SDK session across cancel and error
cancelQuery, the abort catch in the query loop, and the error catch
all nulled currentSessionId, so the next prompt started a fresh SDK
session and Claude saw none of the prior turn — looking like amnesia
after a Stop. Aborts only leave an interrupt marker in the session
log, and most errors are transient (network, rate limit), so keep the
session ID and let the next prompt resume; a truly broken session
will surface its own fresh error.
0 commit comments