@@ -385,7 +385,7 @@ async def _execute_handoff(
385385 subagent_trace .record (
386386 "subagent_execution_begin" ,
387387 agent_name = agent_name ,
388- input_preview = input_ [: 500 ] if input_ else None ,
388+ input = input_ if input_ else None ,
389389 image_count = len (image_urls ),
390390 tools = [t .name for t in toolset ] if toolset else [],
391391 max_steps = agent_max_step ,
@@ -414,7 +414,7 @@ async def _execute_handoff(
414414 "subagent_system_prompt" ,
415415 agent_name = agent_name ,
416416 prompt_length = len (subagent_system_prompt ),
417- prompt_preview = subagent_system_prompt [: 300 ]
417+ prompt = subagent_system_prompt
418418 if subagent_system_prompt
419419 else None ,
420420 )
@@ -480,7 +480,7 @@ async def _run_subagent():
480480 subagent_trace .record (
481481 "subagent_execution_complete" ,
482482 agent_name = agent_name ,
483- result_preview = llm_resp .completion_text [: 500 ]
483+ result = llm_resp .completion_text
484484 if hasattr (llm_resp , "completion_text" ) and llm_resp .completion_text
485485 else None ,
486486 result_length = len (llm_resp .completion_text )
@@ -883,7 +883,7 @@ async def _execute_local(
883883 while True :
884884 try :
885885 if (
886- tool .name == "wait_for_subagent"
886+ tool .name == "wait_for_subagent" or tool . name == "orchestrate_tasks"
887887 ): # wait工具有自己的超时,避免受到tool_call_timeout影响
888888 resp = await asyncio .wait_for (
889889 anext (wrapper ),
0 commit comments