Change API Version for Azure Provider in Vercel AI SDK #2925
Replies: 2 comments
-
You cannot change the API version in the AI SDK, because changing it would break the AI SDK Azure provider. |
Beta Was this translation helpful? Give feedback.
0 replies
-
@lgrammel How do we handle such scenarios, where the api version is locked in the sdk but we might need to point to a different api version? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm currently using the Vercel AI SDK, which appends the api-version=2024-06-01 parameter by default when interacting with the Azure API. However, my Azure API provides a target URI with a different api-version. Is there any way to change the default API version within the Vercel AI SDK to match the one provided by my Azure API? I haven't found a way to modify this yet, and would appreciate any guidance.
A screenshot from Azure studio
Beta Was this translation helpful? Give feedback.
All reactions