Skip to content
Discussion options

You must be logged in to vote

There's no toggle for it in Visual Studio yet, but you can make it kick in a lot less.

It's not random. Copilot calls rubber duck when it's planning bigger changes, after writing tests, or when it keeps failing. For small, clear tasks it mostly skips it. So splitting big asks into smaller steps already helps a lot.

You can also just tell it not to. Add a .github/copilot-instructions.md to your repo:

Don't use the rubber duck agent unless I ask for it.

and make sure custom instructions are turned on under Tools > Options > GitHub > Copilot. Not a hard off switch, but it listens to it.

(In VS Code it's chat.agentHost.rubberDuck.enabled btw.)

If you want an actual toggle in VS, it's worth po…

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@ckroiltd
Comment options

Answer selected by ckroiltd
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Copilot Code accurately and faster with your AI powered pair-programmer. Question Ask and answer questions about GitHub features and usage Welcome 🎉 Used to greet and highlight first-time discussion participants. Welcome to the community! source:ui Discussions created via Community GitHub templates
3 participants