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

Method getMetadata

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

Source from the content-addressed store, hash-verified

174 }
175
176 getMetadata(ideInfo: IdeInfo, apiKey: string): Metadata {
177 return new Metadata({
178 ideName: ideInfo.ideName,
179 ideVersion: ideInfo.ideVersion,
180 extensionName: EXTENSION_NAME,
181 extensionVersion: EXTENSION_VERSION,
182 apiKey,
183 locale: navigator.language,
184 sessionId: this.sessionId,
185 requestId: BigInt(++this.requestId),
186 userAgent: navigator.userAgent,
187 url: window.location.href,
188 });
189 }
190
191 async getCompletions(
192 request: GetCompletionsRequest

Callers 3

triggerCompletionMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected