### 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 | ||
| test_litellm_chatcompletions_stream.py | ||
| test_litellm_extra_body.py | ||
| test_map.py | ||