intitni / CopilotForXcode

The first GitHub Copilot, Codeium and ChatGPT Xcode Source Editor Extension
https://copilotforxcode.intii.com
MIT License
7.84k stars 386 forks source link

[Help Wanted]: Suggestions no longer displaying #593

Closed chrisvasselli closed 1 month ago

chrisvasselli commented 1 month ago

Before Reporting

Describe your issue

I've been using CopilotForXcode for many months now, and it recently stopped working.

Using Copilot for Xcode 0.34.2, Xcode 16.0 (16A242d) on macOS 15.0 (24A335).

The circle still animates for a second, but no suggestion appears, and when I click on it it just displays "Empty".

I went through all the suggestions in the FAQ, and none of them seemed to apply. Everything seems to report that it is setup and working correctly. I relaunched the agent, signed out/in to GitHub copilot, double-checked the accessibility and extension security settings.

I enabled verbose logging for GitHub Copilot, and see the following messages in the Console when I try to get a suggestion. It seems like maybe the "message" being blank is the problem?

info    10:08:06.893668+0900    CopilotForXcodeExtensionService statusNotification: {
  "message" : "",
  "status" : "InProgress"
}
info    10:08:08.868969+0900    CopilotForXcodeExtensionService window/logMessage: {
  "message" : "[fetchCompletions] request.response: [https:\/\/copilot-proxy.githubusercontent.com\/v1\/engines\/copilot-codex\/completions] took 1967 ms",
  "type" : 3
}
info    10:08:08.869151+0900    CopilotForXcodeExtensionService window/logMessage: {
  "message" : "[streamChoices] solution 1 returned. finish reason: [stop]",
  "type" : 3
}
info    10:08:08.869273+0900    CopilotForXcodeExtensionService window/logMessage: {
  "message" : "[streamChoices] solution 0 returned. finish reason: [stop]",
  "type" : 3
}
info    10:08:08.869385+0900    CopilotForXcodeExtensionService window/logMessage: {
  "message" : "[streamChoices] request done: headerRequestId: [6d3bf15b-4c4c-4310-b1de-3e98da549903] model deployment ID: [d029-20241014205743]",
  "type" : 3
}
info    10:08:08.869632+0900    CopilotForXcodeExtensionService statusNotification: {
  "message" : "",
  "status" : "Normal"
}

CleanShot 2024-10-21 at 10 16 40@2x

intitni commented 1 month ago

Please change the console filter to the following to see if there is any error posted.

subsystem:com.intii.CopilotForXcode
category:Service

The empty thing is actually the chat panel, suggestions are presented in another window.

chrisvasselli commented 1 month ago

I'm not sure what it was, but something I did got it working again. Sorry to waste your time!