zbirenbaum / copilot.lua

Fully featured & enhanced replacement for copilot.vim complete with API for interacting with Github Copilot
MIT License
2.43k stars 65 forks source link

server_opts_overrides is ignored #201

Open 3rd opened 11 months ago

3rd commented 11 months ago

Changing server_opts_overrides values doesn't seem to do anything for now. Tested with the suggestion count (both for panel and inline). Found while debugging why trace = "verbose" doesn't work. Any idea if it's an issue with the js client?

dotJack commented 9 months ago

I had the same issue happen. For me the issue was that the server_opt_overrides aren't making it into the context inside the agent.js,

The only configuration that's being loaded is the defaultConfig from the copilot agent's package.json (which is included at the very end of the dist/agent.js file). I just started editing that file directly for my customisations.

LoganWalls commented 6 months ago

I'm also running into this issue, but I don't see the package.json in agent.js (also I'd prefer to not edit files that might get replaced during an update...). @zbirenbaum is there a good place in the codebase for us to start looking for the issue?

ser commented 2 months ago

It's still totally unclear to me how to modify these values!

How do I set DebugShowScores: ["advanced", "debug.showScores"],?