Skip to content

feat: add option to disable contexts in prompts #1101

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged

Conversation

deathbeam
Copy link
Collaborator

Adds a new configuration option include_contexts_in_prompt that allows users to control whether context descriptions should be included when building the prompt for Copilot Chat. This is useful for cases where users want to reduce prompt size or customize how context information is presented to the AI.

The option defaults to true to maintain backward compatibility.

Adds a new configuration option `include_contexts_in_prompt` that
allows users to control whether context descriptions should be
included when building the prompt for Copilot Chat. This is useful
for cases where users want to reduce prompt size or customize how
context information is presented to the AI.

The option defaults to true to maintain backward compatibility.
@deathbeam deathbeam merged commit 14c78d2 into CopilotC-Nvim:main Apr 8, 2025
2 of 3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant