[Solved β ] Litellm support for composio actions/apps
I am using llama models and claude 3.5 which are hosted on openrouter via the litellm python library. Is there any way to run composio actions and apps on these ?
12 Replies
flat-fuchsiaβ’3mo ago
Hey are you using litellm just for chat interface??
optimistic-goldOPβ’3mo ago
Currently yes but I need to execute composio actions using litellm
flat-fuchsiaβ’3mo ago
I think you can do that by this:
https://docs.litellm.ai/docs/langchain/
Using ChatLiteLLM() - Langchain | liteLLM
Pre-Requisites
flat-fuchsiaβ’3mo ago
You can pass tools to langchain as usual you do (can send you resources for using composio tools in langchain)
optimistic-goldOPβ’3mo ago
I have tried this approach doesn't seems to work
flat-fuchsiaβ’3mo ago
What was the issue??
optimistic-goldOPβ’3mo ago
Was encountering various issues
flat-fuchsiaβ’3mo ago
Could you send me a screenshot of it??
@frenzyScholar
optimistic-goldOPβ’3mo ago
this the code I am trying
getting the following error, as of now:
@thatsmeadarsh
@thatsmeadarsh can you please help with this
this is just one of the errors that I got.
Checking.
flat-fuchsiaβ’3mo ago
Hey @frenzyScholar, is it working fine for you now??
optimistic-goldOPβ’3mo ago
yes, thanks