mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-03 02:22:24 +00:00
Add response schema support for Azure AI Grok 4.20
This commit is contained in:
parent
51b731a296
commit
8b48cb0e59
3 changed files with 6 additions and 0 deletions
|
|
@ -6859,6 +6859,7 @@
|
|||
"text"
|
||||
],
|
||||
"supports_function_calling": true,
|
||||
"supports_response_schema": true,
|
||||
"supports_tool_choice": true,
|
||||
"supports_vision": true,
|
||||
"supports_web_search": true
|
||||
|
|
@ -6881,6 +6882,7 @@
|
|||
],
|
||||
"supports_function_calling": true,
|
||||
"supports_reasoning": true,
|
||||
"supports_response_schema": true,
|
||||
"supports_tool_choice": true,
|
||||
"supports_vision": true,
|
||||
"supports_web_search": true
|
||||
|
|
|
|||
|
|
@ -6873,6 +6873,7 @@
|
|||
"text"
|
||||
],
|
||||
"supports_function_calling": true,
|
||||
"supports_response_schema": true,
|
||||
"supports_tool_choice": true,
|
||||
"supports_vision": true,
|
||||
"supports_web_search": true
|
||||
|
|
@ -6895,6 +6896,7 @@
|
|||
],
|
||||
"supports_function_calling": true,
|
||||
"supports_reasoning": true,
|
||||
"supports_response_schema": true,
|
||||
"supports_tool_choice": true,
|
||||
"supports_vision": true,
|
||||
"supports_web_search": true
|
||||
|
|
|
|||
|
|
@ -53,6 +53,7 @@ def test_azure_ai_grok_420_model_info(
|
|||
assert model_info["input_cost_per_token"] == pytest.approx(2e-06)
|
||||
assert model_info["output_cost_per_token"] == pytest.approx(6e-06)
|
||||
assert model_info["supports_function_calling"] is True
|
||||
assert model_info["supports_response_schema"] is True
|
||||
assert model_info["supports_tool_choice"] is True
|
||||
assert model_info["supports_vision"] is True
|
||||
assert model_info["supports_web_search"] is True
|
||||
|
|
@ -74,6 +75,7 @@ def test_azure_ai_grok_420_raw_model_cost_entry(
|
|||
assert model_info["supported_modalities"] == ["text", "image"]
|
||||
assert model_info["supported_output_modalities"] == ["text"]
|
||||
assert model_info["supports_function_calling"] is True
|
||||
assert model_info["supports_response_schema"] is True
|
||||
assert model_info["supports_tool_choice"] is True
|
||||
assert model_info["supports_vision"] is True
|
||||
assert model_info["supports_web_search"] is True
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue