openai-agents-python/tests/models
Rohan Mehta d4c7a23e1d
Don't cache agent tools during a run (#803)
### Summary:
Towards #767. We were caching the list of tools for an agent, so if you
did `agent.tools.append(...)` from a tool call, the next call to the
model wouldn't include the new tool. THis is a bug.

### Test Plan:
Unit tests. Note that now MCP tools are listed each time the agent runs
(users can still cache the `list_tools` however).
2025-06-02 14:49:16 -04:00
..
__init__.py Docs and tests for litellm (#561) 2025-04-21 16:59:01 -04:00
conftest.py Docs and tests for litellm (#561) 2025-04-21 16:59:01 -04:00
test_litellm_chatcompletions_stream.py Dev/add usage details to Usage class (#726) 2025-05-20 18:23:56 +01:00
test_litellm_extra_body.py Don't cache agent tools during a run (#803) 2025-06-02 14:49:16 -04:00
test_map.py Docs and tests for litellm (#561) 2025-04-21 16:59:01 -04:00