-
Notifications
You must be signed in to change notification settings - Fork 5k
Description
Description
After upgrading from version 0.165.1 to 0.177.0, I observed that tools are being invoked exactly twice on every call initiated by the LLM. In the earlier version (0.165.1), the same architecture executed tools correctly with a single invocation.
This issue introduces redundant executions, leading to duplicate outputs and unnecessary latency. The duplicate calls occur within a few milliseconds of each other, which strongly suggests an internal execution or callback duplication in the updated release.
Steps to Reproduce
Steps to Reproduce:
-
Set up a multi-crew architecture with agents configured to call external tools.
-
Register at least 4 tools in the environment.
-
Trigger tool execution through an agent.
-
Observe that the tool is invoked twice in quick succession (within milliseconds).
Expected behavior
Each tool call from the LLM should result in exactly one execution.
In version 0.177.0, every tool call is executed twice.
In version 0.165.0, the same architecture executes correctly with a single invocation.
Screenshots/Code snippets
Can't share project screenshot or code
Operating System
Windows 11
Python Version
3.11
crewAI Version
Issue in 0.177.0, currently using 0.165.1
crewAI Tools Version
0.62.3
Virtual Environment
Venv
Evidence
Can't share project logs or screenshots
Possible Solution
None
Additional context
None