mirror of
https://github.com/supabase/supabase.git
synced 2026-10-06 18:05:11 +03:00
toUIMessageStream's onEnd rebuilds the response message, which fails on an approval continuation because the server never gets the client's original messages. The stream ended after its start chunk, so the client kept resending the approval. Abort once the response pipe settles instead. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>