We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b31739f commit 1e41addCopy full SHA for 1e41add
src/app/bots/chatgpt-azure/index.ts
@@ -13,7 +13,7 @@ export class ChatGPTAzureApiBot extends AbstractChatGPTApiBot {
13
}
14
15
async fetchCompletionApi(messages: ChatMessage[], signal?: AbortSignal) {
16
- const endpoint = `https://${this.config.azureOpenAIApiInstanceName}.openai.azure.com/openai/deployments/${this.config.azureOpenAIApiDeploymentName}/chat/completions?api-version=2023-03-15-preview`
+ const endpoint = `https://${this.config.azureOpenAIApiInstanceName}.openai.azure.com/openai/deployments/${this.config.azureOpenAIApiDeploymentName}/chat/completions?api-version=2025-01-01-preview`
17
return fetch(endpoint, {
18
method: 'POST',
19
signal,
0 commit comments