v4.2.0 - Better Auto Approvals #52
ravitemer
announced in
Announcements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Guys, Now mcphub manages auto approval behavior of tool calls rather than depending on chat plugins. This also respects the
gta
orcodecompanion_auto_tool_mode
for codecompanion plugin.We can toggle the auto approval for our mcphub with
ga
in the Hub view. This internally toggles thevim.g.mcphub_auto_approve
variable.With this update many issues with auto approvals are fixed. We right away return error if the tool was called with incorrect parameters rather than asking for an approval first. We can now control how we want to show the approval window (which current uses the vim.ui.confirm but a custom window might be good for lengthy text in approvals).
Changes needed
Codecompanion
Remove
requires_approval
fromopts
Avante
auto_approve_mcp_tool_calls
is now deprecated. You can remove it.Beta Was this translation helpful? Give feedback.
All reactions