Platform for stateful agents: AI with advanced memory that can learn and self-improve over time.
fix: move composio import to not require (#2006)
Sarah Woodersaca98b1b4e47
diff --git a/letta/schemas/tool.py b/letta/schemas/tool.pyindex f98ef8133..f807e3949 100644--- a/letta/schemas/tool.py+++ b/letta/schemas/tool.py@@ -1,6 +1,5 @@from typing import Dict, List, Optional-from composio import LogLevelfrom pydantic import Fieldfrom letta.functions.helpers import (@@ -86,6 +85,7 @@ class ToolCreate(LettaBase):Returns:Tool: A Letta Tool initialized with attributes derived from the Composio tool."""+ from composio import LogLevelfrom composio_langchain import ComposioToolSetcomposio_toolset = ComposioToolSet(logging_level=LogLevel.ERROR)