Skip to content
Discussion options

You must be logged in to vote

Hey 👋
Yeah, this is really expected behavior with Copilot Agent Mode . It asks for permission before running bash commands because it treats last execution as a possibly erogenous action . It’s basically a safety feature so extensions (or AI) don’t run commands automatically without your approval. That said , I understand it can get bothersome when you’re doing normal dev work and it keeps prompting.
A few things you can try:
✅ 1. Check Copilot Agent settings in VS Code.
Go to: Settings → search for “Copilot” or “Agent”.
Look for options related to:
. Command execution
. last confirmations
. Auto approve safe commands
Depending on your version, there may be an option to reduce confirmatio…

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
2 replies
@brunocassol
Comment options

@ganapathijahnavi
Comment options

Answer selected by brunocassol
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Question Ask and answer questions about GitHub features and usage Copilot Agent Mode Agent Mode is capable of iterating on its own code, recognizing errors, and fix Welcome 🎉 Used to greet and highlight first-time discussion participants. Welcome to the community!
3 participants