Refactor Azure OpenAI default version

This commit is contained in:
Saoud Rizwan
2024-09-24 12:45:24 -04:00
parent a82ff941b9
commit d81002decc
3 changed files with 14 additions and 6 deletions

View File

@@ -399,3 +399,8 @@ export const openAiNativeModels = {
outputPrice: 0.6,
},
} as const satisfies Record<string, ModelInfo>
// Azure OpenAI
// https://learn.microsoft.com/en-us/azure/ai-services/openai/api-version-deprecation
// https://learn.microsoft.com/en-us/azure/ai-services/openai/reference#api-specs
export const azureOpenAiDefaultApiVersion = "2024-08-01-preview"