Open kingc95 opened 2 days ago
Can you give more information how you got this error?
After updating co-pilot and switching the chat to the secondary bar it was no longer functioning. I'd ask a question and get that response back.
In code completions were working correctly, but chat was down with code sample enabled or disabled. Copilot status looked okay from the bottom tool bar menu of view status.
I ended up restarting VScode and the error went away, but hitting the 'retry' button on the chat before the restart would repeat the same 'Language Model Unavailable ' message with a red X icon.
Do you see the language model picker in the chat panel?
Can you select a different model?
Do you see the language model picker in the chat panel?
Can you select a different model?
Same problem, and can not select different model
Please include your logs via CTRL / CMD + SHIFT + U -> GitHub Copilot Chat.
Same issue. It occurred after updating VSCode.
Facing same issue , after upgrading VS Code from 1.93 to 1.95
I resolve this after reload VScode with this extension
Sometimes it can be solved by uninstall and install or just upade the copilot extension,but i guess it depends on luck
Please include your logs via CTRL / CMD + SHIFT + U -> GitHub Copilot Chat.
If someone gets this error before they reboot they can get the logs but they were already gone when I looked again today.
It seems like restarting the extension (or restarting VScode which restarts the extension anyways) is the current default answer. It's not a good answer. But maybe someone will get lucky and think to get logs next time before trying the usual 'turn it and off' we all try.
[error] TypeError: Cannot convert argument to a ByteString because the character at index 108 has a value of 25140 which is greater than 255. at webidl.converters.ByteString (node:internal/deps/undici/undici:3661:17) at Object.record<ByteString, ByteString> (node:internal/deps/undici/undici:3568:32) at webidl.converters.HeadersInit (node:internal/deps/undici/undici:8715:67) at Object.RequestInit (node:internal/deps/undici/undici:3624:21) at new Request (node:internal/deps/undici/undici:9267:34) at fetchWithSession (node:electron/js2c/utility_init:2:358) at Object.fetch (node:electron/js2c/utility_init:2:16931) at n._fetch (c:\Users\26044.vscode\extensions\github.copilot-chat-0.22.1\dist\extension.js:784:5817) at n.fetch (c:\Users\26044.vscode\extensions\github.copilot-chat-0.22.1\dist\extension.js:784:5753) at eR.fetch (c:\Users\26044.vscode\extensions\github.copilot-chat-0.22.1\dist\extension.js:1113:6797) at kbe (c:\Users\26044.vscode\extensions\github.copilot-chat-0.22.1\dist\extension.js:408:24731) at SX (c:\Users\26044.vscode\extensions\github.copilot-chat-0.22.1\dist\extension.js:408:25173) at Wm._fetchModels (c:\Users\26044.vscode\extensions\github.copilot-chat-0.22.1\dist\extension.js:1773:16867) at Wm.getChatModelFromFamily (c:\Users\26044.vscode\extensions\github.copilot-chat-0.22.1\dist\extension.js:1773:15511) at a2.getChatEndpoint (c:\Users\26044.vscode\extensions\github.copilot-chat-0.22.1\dist\extension.js:1773:20787) at t (c:\Users\26044.vscode\extensions\github.copilot-chat-0.22.1\dist\extension.js:628:825) at pE._registerLanguageModels (c:\Users\26044.vscode\extensions\github.copilot-chat-0.22.1\dist\extension.js:628:1810) at async Promise.all (index 0): Failed to fetch models
This got resolved after restarting extension ( Ctrl + Shift + X --> Restart Github Copilot Chat). But I am not able to see any option to select model ?
Thanks @hhz-saner, does anyone else see that error?
Does this reoccur, or does it go away after reloading the window, restarting extensions, whatever else worked around it?
For me error did not reoccur after extension restart but not seeing model selection option ? Is this expected behavior ? As mentioned in below link
For me error did not reoccur after extension restart but not seeing model selection option ? Is this expected behavior ? As mentioned in below link
The error went away and has not returned since the restart of VScode. I do have the model selection input now as well, but it was not there at first after I fixed the 'Langauge Model Unavailable' with a restart. It seems like it took multiple restarts of my computer/vs code over the course of a couple days to fully update/fix the new Copilot Chat interface.
Now everything is normal and I have the model selector. I have not changed it yet as I don't want to break it all again...
Did anyone log into Copilot right before seeing this?
update your Copilot and restart it in the extension, this solution maybe work
Uninstall copilot and reinstall it again, it fixed the error for me
Type: Bug
Try using chat in vscode
Extension version: 0.22.0 VS Code version: Code 1.95.0 (912bb683695358a54ae0c670461738984cbb5b95, 2024-10-28T20:16:24.561Z) OS version: Windows_NT x64 10.0.22631 Modes:
System Info
|Item|Value| |---|---| |CPUs|13th Gen Intel(R) Core(TM) i7-13700F (24 x 2112)| |GPU Status|2d_canvas: enabledcanvas_oop_rasterization: enabled_on
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
skia_graphite: disabled_off
video_decode: enabled
video_encode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: enabled
webnn: disabled_off| |Load (avg)|undefined| |Memory (System)|63.84GB (52.84GB free)| |Process Argv|--crash-reporter-id 909449c1-ea7f-4d32-b9d5-e6445665a15f| |Screen Reader|no| |VM|0%|
A/B Experiments
``` vsliv368cf:30146710 vspor879:30202332 vspor708:30202333 vspor363:30204092 vscod805:30301674 binariesv615:30325510 vsaa593cf:30376535 py29gd2263:31024239 c4g48928:30535728 azure-dev_surveyone:30548225 2i9eh265:30646982 962ge761:30959799 pythongtdpath:30769146 pythonnoceb:30805159 asynctok:30898717 pythonmypyd1:30879173 h48ei257:31000450 pythontbext0:30879054 cppperfnew:31000557 dsvsc020:30976470 pythonait:31006305 dsvsc021:30996838 0ee40948:31013168 dvdeprecation:31068756 dwnewjupytercf:31046870 impr_priority:31102340 nativerepl2:31139839 refactort:31108082 pythonrstrctxt:31112756 wkspc-onlycs-t:31132770 nativeloc1:31134641 wkspc-ranged-t:31151552 cf971741:31144450 iacca1:31156133 notype1cf:31157160 5fd0e150:31155592 dwcopilot:31170013 ```