Skip to content

Commit 0e59aa9

Browse files
committed
Fix id tracking
1 parent 62613e9 commit 0e59aa9

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

Tool/Sources/GitHubCopilotService/LanguageServer/CopilotLocalProcessServer.swift

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,8 @@ class CopilotLocalProcessServer {
4545
// we need to get the request IDs from a custom transport before the data
4646
// is written to the language server.
4747
customTransport.onWriteRequest = { [weak self] request in
48-
if request.method == "getCompletionsCycling" {
48+
if request.method == "getCompletionsCycling"
49+
|| request.method == "textDocument/inlineCompletion" {
4950
Task { @MainActor [weak self] in
5051
self?.ongoingCompletionRequestIDs.append(request.id)
5152
}

0 commit comments

Comments
 (0)