github / github/CopilotForXcode

Get suggestion not work.

オープン
#98 コメント 2 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
Swift
スター
6.3k
フォーク
2k
平均マージ
2分
マージ済み PR(30日)
2

説明

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!!

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。