CopilotForXcode icon indicating copy to clipboard operation
CopilotForXcode copied to clipboard

Unable to select Sonnet 3.7 in model dropdown

Open uzaidnasir28 opened this issue 8 months ago • 15 comments

Describe the bug I have the latest version of copilot.. in my github settings i have enabled sonnet 3.7 but when i try to select models in CopilotForXcode chat it doesnt give me that option.

Versions

  • Copilot for Xcode: 0.32.0
  • Xcode: 16.2
  • macOS: 15.3.1

Steps to reproduce

  1. Enabled Sonnet 3.7 in github Anthropic Claude 3.7 Sonnet in Copilot
  2. Not available in plugin for xcode. NOTE - I am able to access Claude 3.7 Sonnet using my github account and vscode..

so its only not working in CopilotForXcode

Screenshots Image Image

uzaidnasir28 avatar Mar 12 '25 14:03 uzaidnasir28

Same issue, too

Tangdixi avatar Mar 13 '25 02:03 Tangdixi

Yep, same here.

tonyarnold avatar Mar 15 '25 09:03 tonyarnold

Same issue

WangONC avatar Mar 15 '25 10:03 WangONC

Same here

mecid avatar Mar 16 '25 19:03 mecid

Same issue

DmitryGorbunow avatar Apr 01 '25 10:04 DmitryGorbunow

Same issue

mblackmon avatar Apr 02 '25 17:04 mblackmon

Pre-release 0.32.109 does let you select the model

renssies avatar Apr 02 '25 22:04 renssies

[2025-03-28T13:42:02.190Z] [info] [GitHubCopilot] [5058] window/logMessage: { "message" : "[fetchCompletions] request.response: [https://proxy.business.githubcopilot.com/v1/engines/copilot-codex/completions] took 10013.983042001724 ms", "type" : 3 } [2025-03-28T13:42:02.190Z] [info] [GitHubCopilot] [5058] statusNotification: { "busy" : true, "kind" : "Warning", "status" : "InProgress", "message" : "Last response was a 504 error" } [2025-03-28T13:42:02.190Z] [info] [GitHubCopilot] [5058] window/logMessage: { "message" : "[fetchCompletions] Unhandled status from server: 504 request timeout\n", "type" : 1 } [2025-03-28T13:42:02.191Z] [info] [GitHubCopilot] [5058] statusNotification: { "busy" : false, "kind" : "Warning", "status" : "Warning", "message" : "Last response was a 504 error" } [2025-03-28T13:42:02.196Z] [error] [GitHubCopilot] [5058] Failed to send request textDocument/inlineCompletion. Error: Language server error: Server error: -32603 unhandled status from server: 504 request timeout nil [2025-03-28T13:42:02.196Z] [info] [GitHubCopilot] [5058] Try getting suggestions again: Language server error: Server error: -32603 unhandled status from server: 504 request timeout nil

Abdulsalam960902 avatar Apr 10 '25 00:04 Abdulsalam960902

The issue persists in version 0.33.0 for different models. There is a mismatch between the models I can enable in my Copilot settings and the models show in the chat window.

naykutguven avatar Apr 17 '25 07:04 naykutguven

The issue persists in version 0.33.0 for different models. There is a mismatch between the models I can enable in my Copilot settings and the models show in the chat window.

Has this been resolved for you?

sascharo avatar Apr 22 '25 16:04 sascharo

The issue persists in version 0.33.0 for different models. There is a mismatch between the models I can enable in my Copilot settings and the models show in the chat window.

Has this been resolved for you?

This is the list of models I see now

Image

it seems resolved

naykutguven avatar Apr 23 '25 07:04 naykutguven

I'm experiencing this issue on 0.34 still. Only seeing 4 models despite most of them being enabled in the org settings.

andrewtheis avatar Apr 29 '25 19:04 andrewtheis

I'm experiencing this issue on 0.34 still. Only seeing 4 models despite most of them being enabled in the org settings.

@andrewtheis what model do you see in the org settings and not displayed in the Xcode copilot model list? We can take a look to see whether it's a GitHub server side auth issue.

testforstephen avatar Apr 30 '25 01:04 testforstephen

@testforstephen I was able to get it working by ensuring access setting for all models was set. I turned them all on, then logged in/out a few times, then disabled the ones I didn't want, and logged in/out again to get it to refresh.

I think the issue was access settings not being set for some of the models. Seems they all had to be configured in order for the client to show missing models (even if they were already enabled).

andrewtheis avatar May 01 '25 02:05 andrewtheis

@andrewtheis thanks, good to know you have found the workaround. When you enabled the model in Your Copilot settings, the local Xcode Copilot is supposed to be able to show them in the model list. Sometimes, the local copilot may cache the visible models for a while and your remote change does not reflect immediately in the local model picker. Usually restarting Xcode copilot app can solve it.

testforstephen avatar May 01 '25 07:05 testforstephen