mirror of
https://github.com/microsoft/autogen.git
synced 2026-04-20 03:02:16 -04:00
Update Azure OpenAI API to 2024-02-15-preview (#1692)
On April 2, 2024 the following API preview releases will be retired and will stop accepting API requests: 2023-03-15-preview 2023-06-01-preview 2023-07-01-preview 2023-08-01-preview To avoid service disruptions, update to use the latest version 2024-02-15-preview. https://review.learn.microsoft.com/en-us/azure/ai-services/openai/api-version-deprecation
This commit is contained in:
@@ -54,7 +54,7 @@ JSON_SAMPLE = """
|
||||
"api_key": "111113fc7e8a46419bfac511bb301111",
|
||||
"base_url": "https://1111.openai.azure.com",
|
||||
"api_type": "azure",
|
||||
"api_version": "2023-07-01-preview"
|
||||
"api_version": "2024-02-15-preview"
|
||||
},
|
||||
{
|
||||
"model": "gpt",
|
||||
|
||||
@@ -173,7 +173,7 @@ def test_log_oai_client(db_connection):
|
||||
|
||||
openai_config = {
|
||||
"api_key": "some_key",
|
||||
"api_version": "2023-12-01-preview",
|
||||
"api_version": "2024-02-15-preview",
|
||||
"azure_deployment": "gpt-4",
|
||||
"azure_endpoint": "https://foobar.openai.azure.com/",
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user