Platform for stateful agents: AI with advanced memory that can learn and self-improve over time.
fix: Patch double write bug for ToolCallMessage [LET-5335] (#5269)
Matthew Zhoue5657bac5d5c
diff --git a/letta/schemas/message.py b/letta/schemas/message.pyindex 98e3097b0..4594bb1bd 100644--- a/letta/schemas/message.py+++ b/letta/schemas/message.py@@ -528,7 +528,7 @@ class Message(BaseMessage):id=self.id,date=self.created_at,tool_call=tool_call_obj,- tool_calls=tool_call_obj,+ tool_calls=[tool_call_obj],name=self.name,otid=otid,sender_id=self.sender_id,