diff --git a/letta/schemas/tool.py b/letta/schemas/tool.py index f98ef8133b..f807e3949d 100644 --- a/letta/schemas/tool.py +++ b/letta/schemas/tool.py @@ -1,6 +1,5 @@ from typing import Dict, List, Optional -from composio import LogLevel from pydantic import Field from letta.functions.helpers import ( @@ -86,6 +85,7 @@ def from_composio(cls, action: "ActionType") -> "ToolCreate": Returns: Tool: A Letta Tool initialized with attributes derived from the Composio tool. """ + from composio import LogLevel from composio_langchain import ComposioToolSet composio_toolset = ComposioToolSet(logging_level=LogLevel.ERROR)