mirror of
https://github.com/microsoft/autogen.git
synced 2026-04-20 03:02:16 -04:00
@@ -58,7 +58,7 @@ JSON_SAMPLE = """
|
||||
"api_key": "111113fc7e8a46419bfac511bb301111",
|
||||
"base_url": "https://1111.openai.azure.com",
|
||||
"api_type": "azure",
|
||||
"api_version": "2024-02-15-preview"
|
||||
"api_version": "2024-02-01"
|
||||
},
|
||||
{
|
||||
"model": "gpt",
|
||||
@@ -83,7 +83,7 @@ FILTER_CONFIG_TEST = [
|
||||
"expected": JSON_SAMPLE_DICT[2:4],
|
||||
},
|
||||
{
|
||||
"filter_dict": {"api_type": "azure", "api_version": "2024-02-15-preview"},
|
||||
"filter_dict": {"api_type": "azure", "api_version": "2024-02-01"},
|
||||
"exclude": False,
|
||||
"expected": [JSON_SAMPLE_DICT[2]],
|
||||
},
|
||||
|
||||
@@ -202,7 +202,7 @@ def test_log_oai_client(db_connection):
|
||||
|
||||
openai_config = {
|
||||
"api_key": "some_key",
|
||||
"api_version": "2024-02-15-preview",
|
||||
"api_version": "2024-02-01",
|
||||
"azure_deployment": "gpt-4",
|
||||
"azure_endpoint": "https://foobar.openai.azure.com/",
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user