mirror of
https://github.com/langbot-app/LangBot.git
synced 2026-11-20 12:17:41 +08:00
Every streamed chunk the pipeline or an Agent reply stream sends to an adapter carries the reply's accumulated content, but the /sync collector appended each chunk, so a Runner delta plus its completed message came back as two (or more) copies of the same reply. Key streamed chunks by the reply's resp_message_id and keep only the latest snapshot; distinct replies keep their order and identical replies are not merged. Callback delivery, sequence and is_final are unchanged. Docs now state that stream: true callbacks are cumulative snapshots. Refs LANG-370 Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> Co-authored-by: multica-agent <github@multica.ai>