Skip to content

Conversation

@wuxiaojun514
Copy link

  • I understand that this repository is auto-generated and my pull request may not be merged

Changes being requested

Currently it will throw 404 error when you call azure openai v1 chat completion api (See detail at #1684)
This is due to azure openai v1 api changed its url which removed /deployments/${model} in the path.
This problem should occurs not only in chatcompletion api but also in embedding api (for all methods which exist both in v1 and in _deployments_endpoints array)
So I added a condition check here

Additional context & links

I tested it with chatcompletion api ,it works fine after change.
But my project doesn't use embedding api, I don't test it

@wuxiaojun514 wuxiaojun514 requested a review from a team as a code owner October 27, 2025 08:35
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

Successfully merging this pull request may close these issues.

1 participant