feat: Persist tool call id to ToolReturn (#5193)

Add tool call id
This commit is contained in:
Matthew Zhou
2025-10-06 17:35:45 -07:00
committed by Caren Thomas
parent 5a315b8ad5
commit f2d4d01daa

View File

@@ -333,6 +333,7 @@ def create_letta_messages_from_llm_response(
batch_item_id=llm_batch_item_id,
tool_returns=[
ToolReturn(
tool_call_id=tool_call_id,
status=tool_execution_result.status,
stderr=tool_execution_result.stderr,
stdout=tool_execution_result.stdout,