vercel / ai

Build AI-powered applications with React, Svelte, Vue, and Solid
https://sdk.vercel.ai/docs
Other
9.32k stars 1.35k forks source link

Azure Provider: add api version parameter #2104

Closed re-oka closed 2 months ago

re-oka commented 2 months ago

Feature Description

I want to add a parameter for api version in Azure Provider customization settings.
Currently it is set to 2024-05-01-preview. (The preview version closes early ... we want to customize api version)

Use Case

Users will be able to select GA or Preview versions. It's greater convenience.

Additional context

No response

lgrammel commented 2 months ago

Our implementation relies on a specific API version. Making it changeable would mean you can break our implementation, and we don't expose the Azure API to begin with. What would you gain by changing the API version?

lgrammel commented 2 months ago

won't fix, because we rely on a specific api version and changing it could break the provider