Commit graph

3 commits

Author SHA1 Message Date
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
Raduan77
96d1e8af8e fix typos in tests 2025-03-20 11:24:15 +01:00
Rohan Mehta
aaec57a426 Initial commit 2025-03-11 09:42:28 -07:00