microsoft / microsoft/vscode

Right Click on Highlighted Text -> Review causes "error 400 model not supported"

Open
#336,388 0 comments 0 reactions 1 assignee Claimed by @benvillalobos View on GitHub
Dominant language
TypeScript
Stars
193k
Forks
42.4k
PR merge metrics
PR metrics pending

Description

I am using VSCode on Fedora 43 Workstation, installed trough the official repository.
Recently, when i highlight a piece of text (any text) and right click to use the "Review" function, it fails. It tells me that the model is not supported.
I have a free plan and Copilot model picker is set to "Auto".
If, instead of pressing "Review", I add the selected text to chat, and then ask the model to review it there, it works (of course, without the useful features of the Review functionality).

Logs:
```bash
2026-09-16 11:11:43.365 [info] [GitExtensionServiceImpl] Initializing Git extension service.
2026-09-16 11:11:43.365 [info] FetcherService: Experimentation service not available yet, using default fetcher configuration.
2026-09-16 11:11:43.365 [info] Using the Electron fetcher.
2026-09-16 11:11:43.365 [info] [GitExtensionServiceImpl] Successfully activated the vscode.git extension.
2026-09-16 11:11:43.365 [info] [GitExtensionServiceImpl] Enablement state of the vscode.git extension: true.
2026-09-16 11:11:43.365 [info] [GitExtensionServiceImpl] Successfully registered Git commit message provider.
2026-09-16 11:11:43.365 [info] ConversationFeature: Waiting for copilot token or BYOK model to activate conversation feature
2026-09-16 11:11:43.365 [warning] [LanguageModelAccess] LanguageModel/Embeddings are not available without a Copilot token source
2026-09-16 11:11:43.365 [info] [CopilotCLIModels] Skipping model fetch since there is no Copilot token source
2026-09-16 11:11:43.365 [info] BYOK: registered 9 provider(s): ollama, anthropic, gemini, xai, openai, openrouter, azure, customoai, customendpoint
2026-09-16 11:11:43.365 [info] BYOK: fetching known models list
2026-09-16 11:11:43.365 [info] activationBlocker from 'languageModelAccess' took for 67ms
2026-09-16 11:11:43.365 [info] [CopilotCLI] OpenTelemetry enabled: exporter=file, source=github.copilot
2026-09-16 11:11:43.365 [info] BYOK: Copilot Chat known models list fetched successfully.
2026-09-16 11:11:43.365 [info] [CopilotCLIChatSessionContentProvider] listSessions took 289.56169299999965ms
2026-09-16 11:11:43.365 [info] [CopilotCLIChatSessionContentProvider] listSessions took 143.80106799999976ms
2026-09-16 11:11:43.365 [warning] [LanguageModelAccess] LanguageModel/Embeddings are not available without a Copilot token source
2026-09-16 11:11:43.437 [warning] [LanguageModelAccess] LanguageModel/Embeddings are not available without a Copilot token source
2026-09-16 11:11:43.497 [info] Logged in as mhetacc
2026-09-16 11:11:43.501 [info] [CopilotCLI] MCP server started. Lock file: /home/mhetac/.copilot/ide/46dafc36-ec67-4e1c-841a-17e0baff833d.lock
2026-09-16 11:11:43.501 [info] [CopilotCLI] Server URI: unix:/tmp/mcp-FpW4Ak/mcp.sock#%2Fmcp
2026-09-16 11:11:43.570 [info] ConversationFeature: BYOK models available
2026-09-16 11:11:43.570 [info] ConversationFeature: Activating contributions
2026-09-16 11:11:43.570 [info] GitHub.vscode-pull-request-github extension is not yet activated.
2026-09-16 11:11:43.595 [info] Registering default platform agent...
2026-09-16 11:11:43.597 [info] activationBlocker from 'conversationFeature' took for 1484ms
2026-09-16 11:11:44.269 [info] Got Copilot token for mhetacc
2026-09-16 11:11:44.269 [info] Copilot Chat: 0.65.0, VS Code: 1.137.0
2026-09-16 11:11:44.299 [info] copilot token sku: free_limited_copilot
2026-09-16 11:11:44.300 [info] copilot token sku: free_limited_copilot
2026-09-16 11:11:44.302 [info] [code-referencing] Public code references are enabled.
2026-09-16 11:11:44.302 [info] copilot token sku: free_limited_copilot
2026-09-16 11:11:44.302 [info] [code-referencing] Public code references are enabled.
2026-09-16 11:11:44.302 [info] copilot token sku: free_limited_copilot
2026-09-16 11:11:44.302 [info] [code-referencing] Public code references are enabled.
2026-09-16 11:11:44.304 [info] [context keys] Setting context key: github.copilot-chat.activated
2026-09-16 11:11:44.616 [info] Logged in as mhetacc
2026-09-16 11:11:44.957 [info] Fetched model metadata in 2797ms a072f7cb-6d25-416c-b65c-5250c10cadff
2026-09-16 11:11:45.034 [info] Got Copilot token for mhetacc
2026-09-16 11:11:45.034 [info] Copilot Chat: 0.65.0, VS Code: 1.137.0
2026-09-16 11:11:45.040 [info] copilot token sku: free_limited_copilot
2026-09-16 11:11:45.040 [info] [code-referencing] Public code references are enabled.
2026-09-16 11:11:45.043 [info] AuthenticationService: firing onDidAuthenticationChange from handleAuthChangeEvent identity change. Has token: true
2026-09-16 11:11:45.043 [info] copilot token sku: free_limited_copilot
2026-09-16 11:11:45.047 [info] GithubAvailableEmbeddingTypesManager: Got embeddings. Primary: metis-1024-I16-Binary. Deprecated:
2026-09-16 11:11:45.050 [info] WorkspaceChunkSearchService: using embedding type metis-1024-I16-Binary
2026-09-16 11:11:45.211 [info] Latest entry: ccreq:latest.copilotmd
2026-09-16 11:11:45.212 [info] ccreq:76cee214.copilotmd | markdown
2026-09-16 11:11:45.399 [info] Fetched model metadata in 172ms 1bc6818a-1062-4ba3-8f64-89e737806b99
2026-09-16 11:11:45.404 [info] ccreq:a0f766bb.copilotmd | markdown
2026-09-16 11:13:52.958 [info] [CurrentChange] Full documents: 3824 tokens, 127272 budget
2026-09-16 11:13:53.881 [info] Request ID for failed request: 52ee014c-edd1-44df-a8ea-74cc6db48fc7
2026-09-16 11:13:53.887 [error] Server error: 400 {"error":{"message":"The requested model is not supported.","code":"model_not_supported","param":"model","type":"invalid_request_error"}}
2026-09-16 11:13:53.887 [error] Request Failed: 400 {"error":{"message":"The requested model is not supported.","code":"model_not_supported","param":"model","type":"invalid_request_error"}}
2026-09-16 11:13:53.890 [info] ccreq:1e484d72.copilotmd | failed | gpt-5-mini | 905ms | [feedbackGenerator]
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.