fix: pass stable task_id in CLI and gateway to preserve sandbox state across turns

Signed-off-by: rovle <lovre.pesut@gmail.com>
This commit is contained in:
rovle 2026-03-04 22:43:42 -08:00 committed by teknium1
parent fe15a2c65c
commit 7d47e3b776
2 changed files with 2 additions and 1 deletions

View file

@ -2131,7 +2131,7 @@ class GatewayRunner:
if _p:
_history_media_paths.add(_p)
result = agent.run_conversation(message, conversation_history=agent_history)
result = agent.run_conversation(message, conversation_history=agent_history, task_id=session_id)
result_holder[0] = result
# Return final response, or a message if something went wrong