afraid-scarlet
afraid-scarlet2mo ago

Local tools not working

I was going through the guide for creating local tools but it looks like the examples are broken. Following the Readme doesn't work (terminal hangs up when running the examples)
27 Replies
afraid-scarlet
afraid-scarlet2mo ago
I tried the sql_agent
sensitive-blue
sensitive-blue2mo ago
Hey @Mario, Could you say me what error you exactly got??
Soham
Soham2mo ago
Hey, yes the docs have not been updated. Doing it today. Thanks for reporting.
afraid-scarlet
afraid-scarlet2mo ago
Hey, sorry for the late reply. There was no error but either the terminal got stuck when I ran the main.py file or the process got killed automatically and did not start Yes, I think the docs are a bit behind. Thanks for your support turns out it was an issue with pyenv, reinstalling pyenv solved that. Now I tried to create my own local tool but facing import issues in the examples folder (because the new tool is not present in the installed composio package). Please point me to any resources on this 🙏🏻
Soham
Soham2mo ago
Hey @Mario , if I may ask what kind of tool are you working on?
afraid-scarlet
afraid-scarlet2mo ago
sql tool for postgres
Soham
Soham2mo ago
can you give me 2 hours, we have made this really really easy and revamped the whole thing. I will update the docs.
afraid-scarlet
afraid-scarlet2mo ago
sure appreciate the fast replies 👍
Soham
Soham2mo ago
Thanks a lot. Basically, it's going to be a literal python function. Something pretty cool. Thanks.
afraid-scarlet
afraid-scarlet2mo ago
Sounds dope @Soham The docs are still the same, have you published your changes yet?
Soham
Soham2mo ago
Composio Docs
Creating a Local Tool - Composio
Composio enables your agents to connect with Various Tools and work with them
Soham
Soham2mo ago
I published the new local tools process.
afraid-scarlet
afraid-scarlet2mo ago
oh didn't see this one
Soham
Soham2mo ago
Just published. 😅
afraid-scarlet
afraid-scarlet2mo ago
🙂 k, thx I'm still not sure how to intgerate the tool into any example 😦