Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Azure OpenAI chat/completion call failed #180

Open
marcbuils opened this issue Mar 23, 2025 · 0 comments
Open

Azure OpenAI chat/completion call failed #180

marcbuils opened this issue Mar 23, 2025 · 0 comments

Comments

@marcbuils
Copy link
Contributor

Same issue than Azure OpenAI chat/completion call failed #19

I'm submitting a ...
[ x ] bug report
[ ] feature request
[ ] question about the decisions made in the repository
[ ] question about how to use this project

Summary
When I configure an azure model with the following code:
const modelInstance = new AxAIAzureOpenAI({
"apiKey": "123456789",
"resourceName": "myResource",
"deploymentName": "myDeployment",
"version": "2024-02-01"
});

Expected result:
End point called: https://sqalia.openai.azure.com/openai/deployments/Sqalia4o/chat/completions/?api-version=2024-02-01

Actual result:
End point called: https://sqalia.openai.azure.com/openai/deployments/Sqalia4o/chat/completions/
(with an error 404 not found because api-version is required)

Other information (e.g. detailed explanation, stack traces, related issues, suggestions how to fix, links for us to have context, eg. StackOverflow, personal fork, etc.)
The issue is from the apiCall function who forgets the search parameters from baseURL

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant