Platform for stateful agents: AI with advanced memory that can learn and self-improve over time.
hotfix: Patch schema generation (#3134)
Matthew Zhou95d8a7d4964a
diff --git a/letta/schemas/tool.py b/letta/schemas/tool.pyindex 844ee77ef..a9a41b2b0 100644--- a/letta/schemas/tool.py+++ b/letta/schemas/tool.py@@ -91,7 +91,7 @@ class Tool(BaseTool):description=description,append_heartbeat=False,)- elif not self.json_schema:+ else: # elif not self.json_schema: # TODO: JSON schema is not being derived correctly the first time?# If there's not a json_schema provided, then we need to re-derivetry:self.json_schema = derive_openai_json_schema(source_code=self.source_code)