summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/client/azure_openai.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/azure_openai.rs b/src/client/azure_openai.rs
index 315a4ce..d586921 100644
--- a/src/client/azure_openai.rs
+++ b/src/client/azure_openai.rs
@@ -40,7 +40,7 @@ impl AzureOpenAIClient {
self.model.merge_extra_fields(&mut body);
let url = format!(
- "{}/openai/deployments/{}/chat/completions?api-version=2023-05-15",
+ "{}/openai/deployments/{}/chat/completions?api-version=2024-02-01",
&api_base, self.model.name
);