@ai-sdk/azure
Advanced tools
Comparing version 0.0.41 to 0.0.42
@@ -46,3 +46,3 @@ "use strict"; | ||
}); | ||
const url = ({ path, modelId }) => options.baseURL ? `${options.baseURL}/${modelId}${path}?api-version=2024-06-01` : `https://${getResourceName()}.openai.azure.com/openai/deployments/${modelId}${path}?api-version=2024-06-01`; | ||
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 createChatModel = (deploymentName, settings = {}) => new import_internal.OpenAIChatLanguageModel(deploymentName, settings, { | ||
@@ -49,0 +49,0 @@ provider: "azure-openai.chat", |
# @ai-sdk/azure | ||
## 0.0.42 | ||
### Patch Changes | ||
- 9994f55: chore (provider/azure): update Azure OpenAI API version to 2024-08-01-preview | ||
## 0.0.41 | ||
@@ -4,0 +10,0 @@ |
@@ -46,3 +46,3 @@ "use strict"; | ||
}); | ||
const url = ({ path, modelId }) => options.baseURL ? `${options.baseURL}/${modelId}${path}?api-version=2024-06-01` : `https://${getResourceName()}.openai.azure.com/openai/deployments/${modelId}${path}?api-version=2024-06-01`; | ||
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 createChatModel = (deploymentName, settings = {}) => new import_internal.OpenAIChatLanguageModel(deploymentName, settings, { | ||
@@ -49,0 +49,0 @@ provider: "azure-openai.chat", |
{ | ||
"name": "@ai-sdk/azure", | ||
"version": "0.0.41", | ||
"version": "0.0.42", | ||
"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
36598