Copilot for Xcode 0.51.0 — No model configuration found with Copilot Free and Auto
Description
GitHub Copilot for Xcode fails to respond to chat requests with the error No model configuration found.
Environment
GitHub Copilot for Xcode: 0.51.0
Language Server: 1.523.3
Subscription: GitHub Copilot Free
Account status: Active
Model selection: Auto
Steps to reproduce
Sign in to GitHub Copilot for Xcode.
Open the Copilot Chat window.
Select Ask or Agent mode.
Keep Auto selected.
Send a simple message such as "Hello".
Actual result
No model configuration found
Expected result
Copilot should resolve an available model and respond to the chat request.
Relevant logs
[AutoModelService] Fetched auto model for reserve in 137ms: mai-code-1.1-flash
[AutoModelService] Fetched auto model for standby in 140ms: mai-code-1.1-flash
Error: No model configuration found at PYe.getBestChatModelConfig(...)
Additional information
The GitHub account is active, and Copilot Chat works correctly on GitHub.com. Refreshing the connection, restarting Xcode, restarting macOS, and switching between Ask and Agent did not resolve the issue.
I have the same issue
We are also facing same issue.
Me too, despite it's working well in the CLI and on VS Code.
Looking at ~/Library/Logs/GitHubCopilot/github-copilot-for-xcode.log I could find this, maybe it can help:
[2026-10-24T21:40:34.014Z] [info] [GitHubCopilot] [4404] check status response: Response(status: Active, user: Optional("RicardoBarroso"))
[2026-10-24T21:40:34.015Z] [info] [GitHubCopilot] [4404] No BYOK API keys found, fetching BYOK API keys...
[2026-10-24T21:40:34.015Z] [info] [GitHubCopilot] [4404] No BYOK models found, fetching BYOK models...
[2026-10-24T21:40:34.050Z] [info] [GitHubCopilot] [4404] window/logMessage: {
"type" : 3,
"message" : "[AuthManager] resolveSessionWithSource: persisted store resolved a session"
}
...
[2026-10-24T21:44:07.960Z] [info] [GitHubCopilot] [4404] window/logMessage: {
"message" : "[agenticTurnProcessor] Error in processing turn 1b250a45-67b1-4aac-8807-9bb28f41a1da Error: No model configuration found\n at PYe.getBestChatModelConfig (\/snapshot\/copilot-language-server-internal\/dist\/main.js:2438:12997)\n at process.processTicksAndRejections (node:internal\/process\/task_queues:103:5)\n at async t.resolveModelConfiguration (\/snapshot\/copilot-language-server-internal\/dist\/main.js:2584:6346)\n at async ModelPickerUtils.getModelConfigurationById (\/snapshot\/copilot-language-server-internal\/dist\/main.js:2584:9562)\n at async fke.processWithModelAndToolCall (\/snapshot\/copilot-language-server-internal\/dist\/main.js:3731:17406)\n at async fke.process (\/snapshot\/copilot-language-server-internal\/dist\/main.js:3731:15761)\n at async handleConversationTurnChecked (\/snapshot\/copilot-language-server-internal\/dist\/main.js:4062:20552)\n at async Xt.messageHandler (\/snapshot\/copilot-language-server-internal\/dist\/main.js:4187:88801)",
"type" : 1
}
[2026-10-24T21:40:34.014Z] [info] [GitHubCopilot] [4404] check status response: Response(status: Active, user: Optional("RicardoBarroso")) [2026-10-24T21:40:34.015Z] [info] [GitHubCopilot] [4404] No BYOK API keys found, fetching BYOK API keys... [2026-10-24T21:40:34.015Z] [info] [GitHubCopilot] [4404] No BYOK models found, fetching BYOK models... [2026-10-24T21:40:34.050Z] [info] [GitHubCopilot] [4404] window/logMessage: { "type" : 3, "message" : "[AuthManager] resolveSessionWithSource: persisted store resolved a session" }
...
[2026-10-24T21:44:07.960Z] [info] [GitHubCopilot] [4404] window/logMessage: { "message" : "[agenticTurnProcessor] Error in processing turn 1b250a45-67b1-4aac-8807-9bb28f41a1da Error: No model configuration found\n at PYe.getBestChatModelConfig (/snapshot/copilot-language-server-internal/dist/main.js:2438:12997)\n at process.processTicksAndRejections (node:internal/process/task_queues:103:5)\n at async t.resolveModelConfiguration (/snapshot/copilot-language-server-internal/dist/main.js:2584:6346)\n at async ModelPickerUtils.getModelConfigurationById (/snapshot/copilot-language-server-internal/dist/main.js:2584:9562)\n at async fke.processWithModelAndToolCall (/snapshot/copilot-language-server-internal/dist/main.js:3731:17406)\n at async fke.process (/snapshot/copilot-language-server-internal/dist/main.js:3731:15761)\n at async handleConversationTurnChecked (/snapshot/copilot-language-server-internal/dist/main.js:4062:20552)\n at async Xt.messageHandler (/snapshot/copilot-language-server-internal/dist/main.js:4187:88801)", "type" : 1 }
https://github.com/github/CopilotForXcode/issues/965#issuecomment-6402126834
I ran into the same issue. After investigating, I found that the MAI model returned by Auto requires LSP 1.541 or later (reference), while Copilot for Xcode 0.51 bundles LSP 1.523, which cannot handle the MAI model.
I replaced the bundled LSP with the latest version and got it working!😄 Here are the steps:
- Close GitHub Copilot for Xcode.
- Download the latest
copilot-language-server-arm64from https://github.com/github/copilot-language-server-release/releases. - Replace the existing file in
/Applications/GitHub Copilot for Xcode.app/Contents/Applications/GitHub Copilot for Xcode Extension.app/Contents/Resources/copilot-language-server-arm64.'/Applications/GitHub Copilot for Xcode.app/Contents/Resources', Back up the original file first. - chmod +x copilot-language-server-arm64
- Start GitHub Copilot for Xcode and verify that the error is resolved.
☕;)
Haven't changed nothing and today is working fine! 🙃 🤷♂️
7. Haven't changed nothing and today is working fine! 🙃 🤷♂️
I forgot there was another place: '/Applications/GitHub Copilot for Xcode.app/Contents/Resources'
There are always two places that need to be copied
🥹
I got back the same issue again, so I applied the @sxsfeq and it worked great, thank you a lot!
I would like to add a clarification, despite I've downloaded the currently latest version (copilot-language-server-darwin-arm64-1.565.1.zip) when you unzip it we'll see their a file named:
copilot-language-server
and despite under the two folders which @sxsfeq indicated:
/Applications/GitHub Copilot for Xcode.app/Contents/Resources//Applications/GitHub Copilot for Xcode.app/Contents/Applications/GitHub Copilot for Xcode Extension.app/Contents/Resources/
you'll find these two files:
copilot-language-servercopilot-language-server-arm64
you'll have to rename the copilot-language-server which you downloaded to copilot-language-server-arm64 and replace that file on both folders. I tried replacing the same named file and it didn't worked out, it must be this way.
@RicardoBarroso Thank you for the addition.🍻
I got back the same issue again, so I applied the @sxsfeq and it worked great, thank you a lot!
I would like to add a clarification, despite I've downloaded the currently latest version (copilot-language-server-darwin-arm64-1.565.1.zip) when you unzip it we'll see their a file named:
copilot-language-serverand despite under the two folders which @sxsfeq indicated:
/Applications/GitHub Copilot for Xcode.app/Contents/Resources//Applications/GitHub Copilot for Xcode.app/Contents/Applications/GitHub Copilot for Xcode Extension.app/Contents/Resources/you'll find these two files:
copilot-language-servercopilot-language-server-arm64you'll have to rename the
copilot-language-serverwhich you downloaded tocopilot-language-server-arm64and replace that file on both folders. I tried replacing the same named file and it didn't worked out, it must be this way.
Thank you. This helpmed me