()
| 108 | } = {}) { |
| 109 | super(); |
| 110 | this.name = opts.providerName ?? 'openai'; |
| 111 | this.apiKey = opts.apiKey ?? process.env.OPENAI_API_KEY; |
| 112 | this.baseURL = opts.baseURL; |
| 113 | this.draftModel = opts.draftModel; |
| 114 | this.specServerKind = opts.specServerKind; |
| 115 | // A loopback baseURL means this "openai" provider is really a local server |
| 116 | // (e.g. LM Studio / llama.cpp) — traffic stays on the machine and is free. |
no outgoing calls
no test coverage detected