github / github/CopilotForXcode

Get suggestion not work.

Abierto
#98 2 comentarios 0 reacciones 0 asignados Ver en GitHub
Lenguaje dominante
Swift
Estrellas
6.3k
Forks
2k
Merge medio
2 min
PR fusionados (30 d)
2

Descripción

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

Guía de contribución

Abrir la guía de contribución

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.