You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Can you tell me if it is possible to achieve the following workflow with crew AI:
I have created an agent and task using crew_ai, this agent is connected with different tools tools, inside a tool I want to call another tool when a condition is hit, and this tool is registered to another agent, how do I execute a tool inside another tool? To execute a tool we have to use a crew.kickoff() right? Can we kickoff a crew inside another crew?
When I tried to do that, I got a warning:
2024-08-29 14:56:25,550 - 140303215812992 - __init__.py-__init__:538 - WARNING: Overriding of current TracerProvider is not allowed
/crewai/tools/consumer_tools.py:82: RuntimeWarning: coroutine 'Crew.kickoff_async' was never awaited
async_result = crew.kickoff_async()
RuntimeWarning: Enable tracemalloc to get the object allocation traceback
<coroutine object Crew.kickoff_async at 0x7f9aa425f220>
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
Can you tell me if it is possible to achieve the following workflow with crew AI:
I have created an agent and task using crew_ai, this agent is connected with different tools tools, inside a tool I want to call another tool when a condition is hit, and this tool is registered to another agent, how do I execute a tool inside another tool? To execute a tool we have to use a crew.kickoff() right? Can we kickoff a crew inside another crew?
When I tried to do that, I got a warning:
Thanks for the help in advance
Beta Was this translation helpful? Give feedback.
All reactions