bug fix azure/gpt-4.5-preview was added as litellm_provider=openai, should be azure

This commit is contained in:
Ishaan Jaff 2025-03-21 20:50:13 -07:00
parent ed74b419a3
commit 7e1cd7cbeb
2 changed files with 32 additions and 1 deletions

View file

@ -1426,6 +1426,25 @@
"supports_vision": false,
"supports_prompt_caching": true
},
"azure/gpt-4.5-preview": {
"max_tokens": 16384,
"max_input_tokens": 128000,
"max_output_tokens": 16384,
"input_cost_per_token": 0.000075,
"output_cost_per_token": 0.00015,
"input_cost_per_token_batches": 0.0000375,
"output_cost_per_token_batches": 0.000075,
"cache_read_input_token_cost": 0.0000375,
"litellm_provider": "azure",
"mode": "chat",
"supports_function_calling": true,
"supports_parallel_function_calling": true,
"supports_response_schema": true,
"supports_vision": true,
"supports_prompt_caching": true,
"supports_system_messages": true,
"supports_tool_choice": true
},
"azure/gpt-4o": {
"max_tokens": 16384,
"max_input_tokens": 128000,
@ -2091,6 +2110,18 @@
"mode": "chat",
"supports_tool_choice": true
},
"azure_ai/mistral-small-2503": {
"max_tokens": 128000,
"max_input_tokens": 128000,
"max_output_tokens": 128000,
"input_cost_per_token": 0.000001,
"output_cost_per_token": 0.000003,
"litellm_provider": "azure_ai",
"mode": "chat",
"supports_function_calling": true,
"supports_vision": true,
"supports_tool_choice": true
},
"azure_ai/mistral-large-2407": {
"max_tokens": 4096,
"max_input_tokens": 128000,

View file

@ -1435,7 +1435,7 @@
"input_cost_per_token_batches": 0.0000375,
"output_cost_per_token_batches": 0.000075,
"cache_read_input_token_cost": 0.0000375,
"litellm_provider": "openai",
"litellm_provider": "azure",
"mode": "chat",
"supports_function_calling": true,
"supports_parallel_function_calling": true,