Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Get suggestion not work. #98

Open
Tracked by #99
lwangwangl opened this issue Jan 9, 2025 · 2 comments
Open
Tracked by #99

Get suggestion not work. #98

lwangwangl opened this issue Jan 9, 2025 · 2 comments

Comments

@lwangwangl
Copy link

Get suggestion not work.

Versions

  • Copilot for Xcode: 0.29.0
  • Xcode: 16.2
  • macOS: 15.2

Logs

[2025-01-09T01:13:23.102Z] [debug] [Service] [3794] TabToAcceptSuggestion: Activated.
file: /Users/runner/work/copilot-xcode/copilot-xcode/Core/Sources/KeyBindingManager/TabToAcceptSuggestion.swift
line: 14
function: TabToAcceptSuggestion
[2025-01-09T01:13:23.191Z] [info] [Service] [3794] Extension Service is not updated, no need to quit.
[2025-01-09T01:13:27.787Z] [info] [GitHubCopilot] [3794] window/logMessage: {
"message" : "[getCompletions] Requesting completion at position 34:11, between "NS_INLINE BOOL uniIsStrEmpty(NSString * str){\n NSLog(@" and ")\n return str==nil||str.length == 0;\n".",
"type" : 4
}
[2025-01-09T01:13:27.787Z] [info] [GitHubCopilot] [3794] window/logMessage: {
"message" : "[relatedFiles] neighborFiles.getNeighborFilesAndTraits Failed to get the related files: UniUtility.h is not under the workspace folder",
"type" : 4
}
[2025-01-09T01:13:27.787Z] [info] [GitHubCopilot] [3794] window/logMessage: {
"message" : "[ghostText] Trying to get completions from cache for key: 0a68f84c5bcf45b18200c7710a36cb3ac64bc8c6c6a890f145b869f5e987b3a7",
"type" : 4
}
[2025-01-09T01:13:27.787Z] [info] [GitHubCopilot] [3794] statusNotification: {
"message" : "",
"status" : "InProgress"
}
[2025-01-09T01:13:27.788Z] [info] [GitHubCopilot] [3794] window/logMessage: {
"message" : "[ghostText] Getting all completions from network",
"type" : 4
}
[2025-01-09T01:13:27.789Z] [info] [GitHubCopilot] [3794] window/logMessage: {
"type" : 4,
"message" : "[proxySocketFactory] Attempting to establish connection to proxy"
}
[2025-01-09T01:13:27.791Z] [info] [GitHubCopilot] [3794] window/logMessage: {
"message" : "[proxySocketFactory] Socket Connect returned status code 200",
"type" : 4
}

.........

[2025-01-09T01:13:29.296Z] [info] [GitHubCopilot] [3794] statusNotification: {
"status" : "Warning",
"message" : "Last response was a 429 error"
}
[2025-01-09T01:13:29.296Z] [info] [GitHubCopilot] [3794] window/logMessage: {
"message" : "[fetchCompletions] Rate limited by server. Denying completions for the next 10 seconds.",
"type" : 2
}

Additional context
why it says UniUtility.h is not under the workspace folder, I checked that and the file is under the workspace.
And the first time I install the copilot. It works for the same xcode project. But now the copilot does not!!

@testforstephen
Copy link

[2025-01-09T01:13:29.296Z] [info] [GitHubCopilot] [3794] window/logMessage: {
"message" : "[fetchCompletions] Rate limited by server. Denying completions for the next 10 seconds.",
"type" : 2
}

It hits rate limit for completion, which should be the reason why it does not respond now.

@testforstephen
Copy link

@lwangwangl what kind of GitHub Copilot subscription do you use? Is it copilot free plan?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants