Make sure responses are not wrapped in <text></text>
- [x] Disable all other plugins besides Copilot (required)
- [x] Screenshot of note + Copilot chat pane + dev console added (required)
Copilot version: 2.8.5
(Bug report without the above will be closed)
Describe how to reproduce
Using gpt-4o-mini, type the word "initiliazation" (with the typo), select it and run the command Copilot: Fix grammar and spelling of selection.
Expected behavior It should return a response not wrapped in such tags.
Screenshots
FYI: It's been happening every single time as of today.
I confirm the issue. It happens in 90% of all calls. Other plugins don't interfere.
I can't reproduce this. Can you @zeroliu ?
@tbergeron also, can you update to 2.8.6
I am on 2.8.6 and may provide more debug information if needed.
By the way, the issue happens only with Fix grammar and spelling for the selection, and it looks like it's okay for other commands.
@tbergeron also, can you update to 2.8.6
I've been on 2.8.6 and it's been worse for some reason. As @durach said, it only happens with the Fix grammar and spelling for the selection command.
I'm working on a custom command revamp and it allows you to update the command prompt to anything you want. This issue relates to your short original text or the chat model. In a future version, you can update the prompt not to include <text></text> in the prompt.