TanStack
OSS
ai
Sign in / Sign up
Open main menu
ai
GitHub
Overview
Runs
Analytics
Loading workspace stats
Loading workspace insights...
Statistics interval
7 days
30 days
Latest CI Pipeline Executions
Status
Fix filter
Filter
Fuzzy
Filter range
Sort by
Sort by
Start time
Sort ascending
Sort descending
Succeeded
fix/use-chat-structured-output-reset
da486ebc fix(ai-react): reset structured-output state synchronously on user actions `useChat({ outputSchema })` only reset `partial`/`final` when the server's first chunk landed (`RUN_STARTED`). That left the previous run's values visible in the gap between dispatching a `sendMessage`/`reload`/`append`/ `clear` and the network response, which read as stale data in the UI — and never cleared at all when a request errored before any chunk arrived. Reset on the user action instead. The RUN_STARTED reset stays, since each agent-loop iteration emits its own RUN_STARTED and intermediate text from tool-decision runs must not leak into the final structured buffer. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
by Tom Beckenham
T
Succeeded
fix/use-chat-structured-output-reset
da486ebc Merge 895b883187f7ea8d032588d10781c1ef2cb0ff84 into c35043709c000b7b45aa769243f1742a5ad38973
by Tom Beckenham
T
Previous page
Previous
Next
Next page