### 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). |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| conftest.py | ||
| helpers.py | ||
| test_caching.py | ||
| test_connect_disconnect.py | ||
| test_mcp_tracing.py | ||
| test_mcp_util.py | ||
| test_runner_calls_mcp.py | ||
| test_server_errors.py | ||