@ai-sdk/azure
Advanced tools
Comparing version 1.0.1 to 1.0.2
# @ai-sdk/azure | ||
## 1.0.2 | ||
### Patch Changes | ||
- 700b2be: chore (provider/azure): update Azure OpenAI API version to 2024-10-01-preview | ||
## 1.0.1 | ||
@@ -4,0 +10,0 @@ |
@@ -46,3 +46,3 @@ "use strict"; | ||
}); | ||
const url = ({ path, modelId }) => options.baseURL ? `${options.baseURL}/${modelId}${path}?api-version=2024-08-01-preview` : `https://${getResourceName()}.openai.azure.com/openai/deployments/${modelId}${path}?api-version=2024-08-01-preview`; | ||
const url = ({ path, modelId }) => options.baseURL ? `${options.baseURL}/${modelId}${path}?api-version=2024-10-01-preview` : `https://${getResourceName()}.openai.azure.com/openai/deployments/${modelId}${path}?api-version=2024-10-01-preview`; | ||
const createChatModel = (deploymentName, settings = {}) => new import_internal.OpenAIChatLanguageModel(deploymentName, settings, { | ||
@@ -49,0 +49,0 @@ provider: "azure-openai.chat", |
{ | ||
"name": "@ai-sdk/azure", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"license": "Apache-2.0", | ||
@@ -5,0 +5,0 @@ "sideEffects": false, |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
36005
7