MCPcopy
hub / github.com/continuedev/continue / createOpenAiAdapter

Function createOpenAiAdapter

core/llm/index.ts:313–322  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

311 }
312
313 protected createOpenAiAdapter() {
314 return constructLlmApi({
315 provider: this.providerName as any,
316 apiKey: this.apiKey ?? "",
317 apiBase: this.apiBase,
318 requestOptions: this.requestOptions,
319 env: this._llmOptions.env,
320 useResponsesApi: this._llmOptions.useResponsesApi,
321 });
322 }
323
324 listModels(): Promise<string[]> {
325 return Promise.resolve([]);

Callers

nothing calls this directly

Calls 1

constructLlmApiFunction · 0.90

Tested by

no test coverage detected