https://linen.dev logo
Error while running composio in MainAgents and too...
# 🖥│support-forum
r
c
Sure, Could you share your logId? It will help us in debugging.
r
Its my personal deployment to cloud regarding run I am sharing full logs here @udaysidagana
Check this issue it is having whole logs
r
It is comming in the application startup itself application not compiling properly.
Should i still share log id?
@udaysidagana
I deployed the adk application to google cloud run when it is deploying it is giving me this specific error I am using composio tools as a sub agents every tool as a subagent and then wrapping then in main agent
c
Yes, it will make it easier to debug the Issue.
r
For any tool from toolkit
?
c
I will need the logId os the failed Tool call. The one that threw the error.
r
The error is not getting throwed by any tool call it is not goign till that step , it is failing at deployment phase the google_compose_adk is giving the error
Please check this image it has the error comming from google_compose_adk module in composio
@udaysidagana
c
Got it, can you specify the Tool you are trying to execute?
r
•⁠ ⁠github - slack - gmail - ⁠google drive - ⁠notion - ⁠confluence - ⁠google docs - ⁠jira - ⁠sales force - ⁠hubspot - ⁠~linear~ - ⁠~asana~ - ⁠google calendar - Google maps - google slides - google tasks
These are the list of toolkit I am trying to onboard it is not crashing on a specific tool
But when I am wrapping tool in agent and then that agent as a tool in main agent
It is giving me above error
Giving tools directly to the agent is working but using subagent approach is breaking the composio adk
c
I see, I'll try to reproduce the Issue. Could you share a reproducible code snippet?
r
The code snippet somehow I can’t share due as it is closed source, but the way I am executing is create a subagent the subagent will have a composio init in that, the wrap that subagent inside a LLMAgent as a tool
And then launch it through adk web or python main py
Can we not just fix from the logs shared I am facing this error with above migration to sub agents @udaysidagana
c
I understand, but to pinpoint the resolution, we’ll need some context. I didn’t quite get “subagent will have composio init”. It would be helpful if you could provide reproducible steps or a reproducible code snippet.
r
I am sharing code snippet to reproduce this.
https://github.com/shankarpriyank/bug_composio @udaysidagana please check we are highly coupled with composio and this is major bug for us if you can help us I will be thankful
Use python main.py with gemini api key in env file
When can we expect this fix?
c
We are checking this and will revert back with updates.
r
What is the reason @udaysidagana
Anything we are missing in creating dockerfile
We are passing composio key do we need to pass default user id
c
There seem to be an Issue with the SDK regarding this error: We have to resolve it first hand. Could you please try updating your SDK version and let me know if you are still encountering the error? Latest:
pip install composio-google-adk==0.8.5
pip install composio==0.8.0
r
I tried installing the above packages when launching through python main.py, and it is working fine. but when I am using this by deploying in a container environment, it is giving me above error, same goes on with goolge cloud run and aws lambda function.
I am not able to get what is the solution for this issue @udaysidagana can you suggest something.
c
Great! The error is resolved. I’ll check with the team and get back to you regarding the deployment.
r
From which side the error resolved the SDK side? @udaysidagana please let me know the steps.
Please cofirm @udaysidagana are we expecting a fix to be relased today?
c
I’ve forwarded the issue to the engineering team, and they’ll be looking into it. I’ll keep you updated with any relevant information. Thanks for your patience!
r
@udaysidagana I am not able to see all the tools when i ask notion what you can do it only list 4-5 tools not more than that, is their is anything i need to unable through dashbaord
c
Can you try using a Tool which is not specified by the Agent? Lmk if it works.