mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-07 02:59:05 +00:00
Merge pull request #23478 from BerriAI/litellm_fix_o1_preview_outdated_test
[Fix] Remove Deprecated o1-preview from Azure O-series Test
This commit is contained in:
commit
f3e870a3a9
2 changed files with 1 additions and 6 deletions
|
|
@ -8406,11 +8406,6 @@ class ProviderConfigManager:
|
|||
or (supports_reasoning(model) and not is_gpt_model)
|
||||
)
|
||||
|
||||
is_o_series = model and (
|
||||
"o_series" in model.lower()
|
||||
or (supports_reasoning(model) and not is_gpt_model)
|
||||
)
|
||||
|
||||
if is_o_series:
|
||||
return litellm.AzureOpenAIOSeriesResponsesAPIConfig()
|
||||
else:
|
||||
|
|
|
|||
|
|
@ -24,7 +24,7 @@ def test_azure_gpt5_supports_temperature():
|
|||
|
||||
def test_azure_o_series_does_not_support_temperature():
|
||||
"""Test that Azure O-series models still use the correct O-series config."""
|
||||
test_models = ["o1", "o1-preview", "o3"]
|
||||
test_models = ["o1", "o3"]
|
||||
|
||||
for model in test_models:
|
||||
config = ProviderConfigManager.get_provider_responses_api_config(
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue