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
When trying a swarm with a ConversableAgent-based agent that had Tools associated with it that were registered for llm, the swarm failed because it was setting up the internal tool executor to execute all tools associated with all agents. The reason is because the tools were in the agent's tools but not their _function_map.
I noticed that when we run _register_for_llm we do not call register_function that puts these functions in an agent's function map.
_register_for_execution does call it.
Steps to reproduce
No response
Model Used
No response
Expected Behavior
No response
Screenshots and logs
No response
Additional Information
No response
The text was updated successfully, but these errors were encountered:
Closing this as though a minor fix was applied, the issue raised expects that functions are registered in the function_map if they are just for LLM recommendation, and this is not the case.
Describe the bug
When trying a swarm with a ConversableAgent-based agent that had
Tool
s associated with it that were registered for llm, the swarm failed because it was setting up the internal tool executor to execute all tools associated with all agents. The reason is because the tools were in the agent'stools
but not their_function_map
.I noticed that when we run
_register_for_llm
we do not callregister_function
that puts these functions in an agent's function map._register_for_execution
does call it.Steps to reproduce
No response
Model Used
No response
Expected Behavior
No response
Screenshots and logs
No response
Additional Information
No response
The text was updated successfully, but these errors were encountered: