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
gtaorcodecompanion_auto_tool_modefor codecompanion plugin.We can toggle the auto approval for our mcphub with
gain the Hub view. This internally toggles thevim.g.mcphub_auto_approvevariable.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_approvalfromoptsAvante
auto_approve_mcp_tool_callsis now deprecated. You can remove it.Beta Was this translation helpful? Give feedback.
All reactions