MCPcopy Create free account
hub / github.com/Exafunction/codeium-chrome / acceptedLastCompletion

Method acceptedLastCompletion

src/common.ts:207–217  ·  view source on GitHub ↗
(ideInfo: IdeInfo, apiKey: string, completionId: string)

Source from the content-addressed store, hash-verified

205 }
206
207 acceptedLastCompletion(ideInfo: IdeInfo, apiKey: string, completionId: string): void {
208 const request = new AcceptCompletionRequest({
209 metadata: this.getMetadata(ideInfo, apiKey),
210 completionId,
211 });
212 const message: AcceptCompletionRequestMessage = {
213 kind: 'acceptCompletion',
214 request: request.toJsonString(),
215 };
216 this.port.postMessage(message);
217 }
218}

Callers 2

serviceWorker.tsFile · 0.45
acceptCompletionMethod · 0.45

Calls 1

getMetadataMethod · 0.95

Tested by

no test coverage detected