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

Method getHeaders

src/common.ts:65–71  ·  view source on GitHub ↗
(apiKey: string | undefined)

Source from the content-addressed store, hash-verified

63 }
64
65 getHeaders(apiKey: string | undefined): Record<string, string> {
66 if (apiKey === undefined) {
67 return {};
68 }
69 const Authorization = `Basic ${apiKey}-${this.sessionId}`;
70 return { Authorization };
71 }
72
73 async getCompletions(
74 request: GetCompletionsRequest

Callers 2

getCompletionsMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected