diff options
| author | Dominique Broeglin <dominique.broeglin@gmail.com> | 2025-02-27 01:14:18 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-02-27 08:14:18 +0800 |
| commit | 67af61590295dba14b2e9f9b6561cde255411218 (patch) | |
| tree | 2a9df872735afc1a35b54fd7ac85e2c32520c19e /src | |
| parent | cb54f8643a965fbc35b1f07eb3ea026692eb8091 (diff) | |
| download | aichat-67af61590295dba14b2e9f9b6561cde255411218.tar.gz | |
feat: bumping Azure OpenAI API Version to 2024-12-01-preview (#1205)
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 61a54a2..a46b818 100644 --- a/src/client/azure_openai.rs +++ b/src/client/azure_openai.rs @@ -48,7 +48,7 @@ fn prepare_chat_completions( let api_key = self_.get_api_key()?; let url = format!( - "{}/openai/deployments/{}/chat/completions?api-version=2024-10-21", + "{}/openai/deployments/{}/chat/completions?api-version=2024-12-01-preview", &api_base, self_.model.real_name() ); |
