Menu

#53 Run chat panel: surface API errors

open
nobody
2026-01-23
2026-01-23
Anonymous
No

Originally created by: yaront1111

Context

The Run Chat tab uses useRunChat, but errors from the chat API aren’t surfaced, so users just see an empty state when the API is unreachable/unauthorized.

Task

Show a lightweight error callout in the Chat panel when useRunChat reports an error.

Acceptance criteria

  • If useRunChat.isError is true, render a small inline error message in ChatPanel.
  • Prefer specific copy for 401/403 (API key/permission) and 404 (endpoint not available).
  • Keep the layout compact and consistent with existing UI styles.

Discussion


Log in to post a comment.