From d888d634d6c3e0e556da43e6d13db0559b67d7c1 Mon Sep 17 00:00:00 2001 From: Sarah Wooders Date: Wed, 6 Nov 2024 22:33:17 -0800 Subject: [PATCH] move composio import --- letta/schemas/tool.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)