Platform for stateful agents: AI with advanced memory that can learn and self-improve over time.
fix: summarization bug (#1476)
cthomasa0ebfa0cd1d4
diff --git a/letta/llm_api/llm_api_tools.py b/letta/llm_api/llm_api_tools.pyindex f489b873f..fe941e038 100644--- a/letta/llm_api/llm_api_tools.py+++ b/letta/llm_api/llm_api_tools.py@@ -340,7 +340,7 @@ def create(tool_choice = {"type": "any", "disable_parallel_tool_use": True}else:tool_choice = {"type": "auto", "disable_parallel_tool_use": True}- tools = [{"type": "function", "function": f} for f in functions]+ tools = [{"type": "function", "function": f} for f in functions] if functions is not None else Nonechat_completion_request = ChatCompletionRequest(model=llm_config.model,