We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bc0f90c commit c3de383Copy full SHA for c3de383
src/api/providers/openai.ts
@@ -29,12 +29,10 @@ const AZURE_AI_INFERENCE_PATH = "/models/chat/completions"
29
export class OpenAiHandler extends BaseProvider implements SingleCompletionHandler {
30
protected options: OpenAiHandlerOptions
31
private client: OpenAI
32
- private isAzure: boolean
33
34
constructor(options: OpenAiHandlerOptions) {
35
super()
36
this.options = options
37
- this.isAzure = options.openAiUseAzure ?? false
38
39
const baseURL = this.options.openAiBaseUrl ?? "https://api.openai.com/v1"
40
const apiKey = this.options.openAiApiKey ?? "not-provided"
0 commit comments