refactor: update azure-openai api version (#470)

pull/471/head
sigoden 3 weeks ago committed by GitHub
parent 83ca74bf8a
commit 8aa18b59f5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -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
);

Loading…
Cancel
Save