Recently, using the copilot chat from within LSP-Copilot stopped working (suggestions and auto completions still work).
After turning on debugging, I found the following error:
Error: A model id is required: provide modelInfo.id or the deprecated model field.
I tried patching the CopilotConversationChatCommand myself by adding "model": "auto" to the req_params, which actually lets me open the chat window again but consecutive conversations in the chat window fail with the same error. I couldn't debug much further as the code is too complicated / unfamiliar for me.
Trying to select a model using "Copilot: Models" also fails. I get a list of available models (which seems to match the models available in my subscription) but actually selecting one (even "auto") fails with "Failed to accept model policy".
I'm using the copilot language server v1.520.0, also tried updating to v1.521.0 but same issue.
Signing out of copilot and back in didn't change anything.
Recently, using the copilot chat from within LSP-Copilot stopped working (suggestions and auto completions still work).
After turning on debugging, I found the following error:
Error: A model id is required: provide
modelInfo.idor the deprecatedmodelfield.I tried patching the CopilotConversationChatCommand myself by adding "model": "auto" to the req_params, which actually lets me open the chat window again but consecutive conversations in the chat window fail with the same error. I couldn't debug much further as the code is too complicated / unfamiliar for me.
Trying to select a model using "Copilot: Models" also fails. I get a list of available models (which seems to match the models available in my subscription) but actually selecting one (even "auto") fails with "Failed to accept model policy".
I'm using the copilot language server v1.520.0, also tried updating to v1.521.0 but same issue.
Signing out of copilot and back in didn't change anything.