Skip to content
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

codegate cli doesn't work in copilot if context is selected #1061

Open
jhrozek opened this issue Feb 14, 2025 · 4 comments
Open

codegate cli doesn't work in copilot if context is selected #1061

jhrozek opened this issue Feb 14, 2025 · 4 comments
Labels

Comments

@jhrozek
Copy link
Contributor

jhrozek commented Feb 14, 2025

Found this while porting the new pipeline code. I thought it was a bug in our code, but it must be a long-standing bug in the copilot provider.

@alex-mcgovern
Copy link
Contributor

+1 — came here to report this. I suspect this may be related to the recent copilot release with the agentic/compose functionality — but unsure.

Screen.Recording.2025-02-18.at.3.04.41.PM.mov

@jhrozek
Copy link
Contributor Author

jhrozek commented Feb 21, 2025

Yup, this must be a change in copilot, they used to send a message per file now they send a single message where they put <attachment>file contents<attachment>codegate version. We need to strip those attachments.

@jhrozek
Copy link
Contributor Author

jhrozek commented Feb 21, 2025

To fix this, we need to add code to "src/codegate/pipeline/cli/cli.py as we alrady have for other clients, this time for copilot

@danbarr
Copy link
Contributor

danbarr commented Feb 21, 2025

This is also impacting the new avante.nvim integration.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants