diff options
| author | sigoden <sigoden@gmail.com> | 2024-04-30 16:28:36 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-04-30 16:28:36 +0800 |
| commit | 8aa18b59f5be467fcadc9aa679bce58d66e62793 (patch) | |
| tree | 3de6ea5a3791e1bdc45bab595b5c5296a5fd9736 /src | |
| parent | 83ca74bf8a7be2df39663670735ee45726dda661 (diff) | |
| download | aichat-8aa18b59f5be467fcadc9aa679bce58d66e62793.tar.gz | |
refactor: update azure-openai api version (#470)
Diffstat (limited to 'src')
| -rw-r--r-- | src/client/azure_openai.rs | 2 |
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 ); |
