You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: auto allow/deny tool run requests on dynamic tool add/remove
When tools are added or removed, the socket server runs the script to
regenerate tool definitions. Now that the gateway-provider has been
incorporated as the default model provider, this logic gets stuck
waiting for user confirmation, and leads to the user getting stuck on a
loading screen. This same logic also means that if the LLM attempts to
call any other tool -- which is prone to doing without being asked to --
we run into the same problem (e.g. the second tool add hangs forever
bug).
To fix this, add a handler to the tool run that auto-approves providers
and auto-denies requests to run any other tool.
Signed-off-by: Nick Hale <[email protected]>
0 commit comments