Skip to content

Commit

Permalink
move composio import
Browse files Browse the repository at this point in the history
  • Loading branch information
sarahwooders committed Nov 7, 2024
1 parent 5f5c072 commit d888d63
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion letta/schemas/tool.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
from typing import Dict, List, Optional

from composio import LogLevel
from pydantic import Field

from letta.functions.helpers import (
Expand Down Expand Up @@ -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)
Expand Down

0 comments on commit d888d63

Please sign in to comment.