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
{{ message }}
Repository navigation
AI Agent page: failed requests give no feedback — new chat, delete conversation, and send message fail silently #551
newChat — clicking "New chat" does nothing when the request fails.
deleteConversation — the row stays in place after the user already confirmed the delete dialog.
onSubmit — the user's typed message is dropped on the floor: no error, input untouched, nothing happens. They'll assume the app hung.
Other fetches in the same file already parse the error body and surface it (see the handlers around message loading), so this is an internal inconsistency, not a missing pattern.
Fix
For each of the three sites: parse body.error from the response, show a toast.error(...) with it (falling back to a generic message), and for onSubmit keep the user's message in the input (or restore it) so nothing they typed is lost. Optionally extract a tiny shared fetchJsonOrToast helper if it keeps the diff small.
Acceptance
Each of the three actions shows an error toast when the API fails.
A failed send leaves the user's typed message intact.
Assigned — thanks! Same family of fix as your recent error-state work: each of the three actions (new chat, delete conversation, send message) needs its failure surfaced with a toast and the UI left in a consistent state.
Activity
BharadwajKanneveti commentedon Aug 3, 2026
Hi @gkhngyk Can I work on this issue?
gkhngyk commentedon Aug 3, 2026
Assigned — thanks! Same family of fix as your recent error-state work: each of the three actions (new chat, delete conversation, send message) needs its failure surfaced with a toast and the UI left in a consistent state.