Commit Graph
2 Commits
Author SHA1 Message Date
sam 851cb78b04 fix(chat): a failed turn reads as a plain sentence, shown as an error 2026-11-13 13:16:11 +11:00
sam 14da38b9b7 fix(webui): sanitise dashboard chat error responses (#1908)
ci/woodpecker/pr/quality Pipeline was successful
Quality / check (pull_request) Successful in 7m28s
Chat handlers returned raw contract errors to the browser, which can
carry SQL fragments, gRPC status details or host paths. Each 5xx and
transport failure now answers with a plain sentence in the gateway's
wording and logs the real cause through the injected logger's
ErrorContext. The SSE error frame on stream-open failure gets the same
treatment. Safe 400 validation messages and the 404 'session not found'
are unchanged.
2026-11-13 00:10:22 +11:00