Skip to content

armgit / letta

Public Imported from GitHub
0

Platform for stateful agents: AI with advanced memory that can learn and self-improve over time.

feat: don't require tags to be specified for tool creation (#1806)

Sarah Wooders526104015df3
diff --git a/letta/schemas/tool.py b/letta/schemas/tool.py
index 067cee1a2..2a4f6acb0 100644
--- a/letta/schemas/tool.py
+++ b/letta/schemas/tool.py
@@ -128,7 +128,7 @@ class Tool(BaseTool):
class ToolCreate(BaseTool):
name: Optional[str] = Field(None, description="The name of the function (auto-generated from source_code if not provided).")
- tags: List[str] = Field(..., description="Metadata tags.")
+ tags: List[str] = Field([], description="Metadata tags.")
source_code: str = Field(..., description="The source code of the function.")
json_schema: Optional[Dict] = Field(
None, description="The JSON schema of the function (auto-generated from source_code if not provided)"