## 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. . |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| _openai_shared.py | ||
| fake_id.py | ||
| interface.py | ||
| openai_chatcompletions.py | ||
| openai_provider.py | ||
| openai_responses.py | ||