Commit Graph

3 Commits

Author SHA1 Message Date
Mery-Sanz b8ee04a8de fix test_agent_hooks.py and reorganize imports 2025-04-09 15:46:53 +02:00
Rohan Mehta 6fb5792b77 Make the reset behavior on tool use configurable
## Summary:

#263 added this behavior. The goal was to prevent infinite loops when tool choice was set. The key change I'm making is:
1. Making it configurable on the agent.
2. Doing bookkeeping in the Runner to track this, to prevent mutating agents.
3. Not resetting the global tool choice in RunConfig.

## Test Plan:
Unit tests.
.
2025-03-25 13:29:32 -04:00
Rohan Mehta aaec57a426 Initial commit 2025-03-11 09:42:28 -07:00