mirror of
https://github.com/tiennm99/DocsGPT.git
synced 2026-10-04 20:13:04 +00:00
Tool pre-fetch ran the caller's own active tools, so a teammate chatting with a shared agent had the owner's prompt fill in from their tools, and even the owner got every active tool rather than the agent's. It now uses the toolset the run gets: the agent's tools as its owner or sponsor, or the caller's tools and defaults outside an agent. Pre-fetch asks nobody, so on someone else's tool it skips approval-gated actions and anything on a connected account.