Skip to content

Commit c3de383

Browse files
committed
refactor: remove unused isAzure property from OpenAiHandler
1 parent bc0f90c commit c3de383

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/api/providers/openai.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,12 +29,10 @@ const AZURE_AI_INFERENCE_PATH = "/models/chat/completions"
2929
export class OpenAiHandler extends BaseProvider implements SingleCompletionHandler {
3030
protected options: OpenAiHandlerOptions
3131
private client: OpenAI
32-
private isAzure: boolean
3332

3433
constructor(options: OpenAiHandlerOptions) {
3534
super()
3635
this.options = options
37-
this.isAzure = options.openAiUseAzure ?? false
3836

3937
const baseURL = this.options.openAiBaseUrl ?? "https://api.openai.com/v1"
4038
const apiKey = this.options.openAiApiKey ?? "not-provided"

0 commit comments

Comments
 (0)