fix(runner): avoid duplicate inline image payloads (#2631)

* fix(runner): avoid duplicate inline image payloads

* fix(runner): preserve attachments and complete HTTP agent delivery

Co-authored-by: multica-agent <[email protected]>

---------

Co-authored-by: Qingsong Li <[email protected]>
Co-authored-by: Chin Rock <[email protected]>
Co-authored-by: multica-agent <[email protected]>
This commit is contained in:
Qingsong Li
2026-10-20 02:14:36 +08:00
committed by GitHub
co-authored by multica-agent Qingsong Li Chin Rock
parent a10a6eb780
commit 41b55952ff
9 changed files with 548 additions and 5 deletions
+6
View File
@@ -202,6 +202,12 @@ This is **lossy** (you lose `sequence` / streaming boundaries) and blocks up to
`callback_timeout × 4` seconds. Prefer the callback model for anything
real-time or multi-part. Only one in-flight `/sync` per `session_id`.
Collection waits for both a final reply and the inbound listener to finish. An
Agent's text reply does not end collection while that Agent is still exporting
and sending output files. The same timeout bounds the entire wait; timing out
does not cancel the running Agent. Replies sent after timeout use normal callback
delivery.
---
## 9. Error envelope