refactor: replace get_actions call with get_tools in Composio Component (#3684)
* refactor: update deprecated call to get_actions * Update composio-langchain dependency to version 0.5.13 in pyproject.toml * Downgrade `composio-langchain` dependency to version `0.5.9` in `pyproject.toml` * Add missing import for CustomComponent in test_custom_component.py
This commit is contained in:
parent
addadeb5cb
commit
aaaf6f3784
4 changed files with 30 additions and 56 deletions
|
|
@ -168,7 +168,7 @@ class ComposioAPIComponent(LCToolComponent):
|
|||
|
||||
def build_tool(self) -> Sequence[Tool]:
|
||||
composio_toolset = self._build_wrapper()
|
||||
composio_tools = composio_toolset.get_actions(actions=self.action_names)
|
||||
composio_tools = composio_toolset.get_tools(actions=self.action_names)
|
||||
return composio_tools
|
||||
|
||||
def _build_wrapper(self) -> ComposioToolSet:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue