Files
219b1af769 fix(http_bot): return each reply once from /sync (#2960)
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>
2026-11-09 23:10:07 +08:00
..