Roo-Code: Claude 3.5 Sonnet not working through VS Code LM API
Which API Provider are you using?
VS Code LM API
Which Model are you using?
Claude 3.5 Sonnet
What happened?
- I have a valid Github Copilot Pro account
- I can successfully use 01-a through VS Code LM API without problems
If I try to use copilot - claude-3.5-sonnet through VS Code LM API it always gives this error:
Request Failed: 400 {"error":{"message":"The requested model is not supported.","param":"model","code":"model_not_supported","type":"invalid_request_error"}}
Steps to reproduce
- Make sure you have a valid Copilot Pro account activated.
- Select
VS Code LM API as the provider - Select
copilot - claude-3.5-sonnetas the model - Type any prompt with this setup.
Relevant API REQUEST output
Additional context
No response
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Reactions: 3
- Comments: 16
Answer from Discord (I confirmed this works):
Thank you, @ independentwoman (in Discord)
I’m confirming it works with VS Code but haven’t had any luck with cursor IDE.
Same for me also did all steps but same error code…
I did not have this problem maybe because even before using it with Roo, I enabled the feature that is disabled by default in Github’s Copilot setting page: Enable Sonnet feature.
Visit the Visual Studio Code’s website and manually update it to the latest version. Then, send a message to Sonnet 3.5 in the Copilot chat.