(apiKey: string | undefined)
| 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 |
no outgoing calls
no test coverage detected