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 0fb20a3 commit 46aecfaCopy full SHA for 46aecfa
.changeset/lovely-geese-listen.md
@@ -0,0 +1,5 @@
1
+---
2
+"hai-build-code-generator": patch
3
4
+
5
+Fixed deployment name not being passed as separate parameter for AzureOpenAI (OpenAI-Compatible)
src/api/providers/openai.ts
@@ -23,7 +23,7 @@ export class OpenAiHandler implements ApiHandler {
23
!this.options.openAiModelId?.toLowerCase().includes("deepseek"))
24
) {
25
this.client = new AzureOpenAI({
26
- baseURL: this.options.openAiBaseUrl,
+ endpoint: this.options.openAiBaseUrl,
27
apiKey: this.options.openAiApiKey,
28
apiVersion: this.options.azureApiVersion || azureOpenAiDefaultApiVersion,
29
defaultHeaders: this.options.openAiHeaders,
0 commit comments