-
-
Couldn't load subscription status.
- Fork 352
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
When preparing agent execution, both static and dynamic tools are merged and passed to toolManager.prepareToolsForGeneration. This causes each tool (e.g., getWeather) to appear twice, since dynamic clones are added even for non-dynamic tools.
Steps To Reproduce
debug with-hooks example, for instance
Expected behavior
Only dynamic tools should be passed to prepareToolsForGeneration
Packages
- @voltagent/core
Additional Context
agent.ts → prepareExecution() and prepareTools()
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working