Skip to content

Sanitize inference failures to consumer copy - #336

Merged
TheGreatAxios merged 2 commits into
mainfrom
cl-6736-http-status-and-raw-provider-errors-appear-in-the-timeline
Aug 23, 2026
Merged

Sanitize inference failures to consumer copy#336
TheGreatAxios merged 2 commits into
mainfrom
cl-6736-http-status-and-raw-provider-errors-appear-in-the-timeline

Conversation

@TheGreatAxios

Copy link
Copy Markdown
Contributor

Summary

Failed-turn timeline rows, sidebar previews, and composer-adjacent chrome now persist and render one consumer sentence instead of [HTTP …] or raw provider JSON.

Closes CL-6736.

Test plan

  • bun test packages/chat/src/consumer-inference-text.test.ts packages/chat/src/room-messages.test.ts
  • bun test packages/chat-ui/src/inference-failure.test.ts packages/chat-ui/test/failed-turn-strip.test.tsx packages/chat-ui/test/components.test.tsx
  • After merge: force a failed turn; timeline shows consumer copy only

Failed turns must not persist or render HTTP status or raw provider
JSON. Cover persist, preview, and the failed-turn strip.
Persist and render failed turns as one consumer sentence, never an
HTTP status or provider dump.
@TheGreatAxios
TheGreatAxios merged commit 82450fa into main Aug 23, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant