MCPcopy Create free account
hub / github.com/QodeXcli/QodeX / listModels

Method listModels

src/llm/providers/openai.ts:110–113  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

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.

Callers 2

index.tsFile · 0.45
initializeMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected