The fastest, litest AI Gateway. Rust core with Python SDK. Call 100+ LLM APIs in OpenAI (or native) format with cost tracking, guardrails, load balancing, and logging [Bedrock, Azure, OpenAI, Anthropic, OpenAI, VertexAI, vLLM, Nvidia NIM]
Python ai-gatewayanthropicazure-openaibedrockgatewaylangchainlitellmllmllm-gatewayllmopsmcp-gatewayopenaiopenai-proxyrustrust-aivertex-ai
test: register supports_legacy_thinking in model-prices schema
mateo-berri25b379f3c7ce
diff --git a/model_prices_and_context_window.schema.json b/model_prices_and_context_window.schema.jsonindex f5560a20ab2..aeb88962305 100644--- a/model_prices_and_context_window.schema.json+++ b/model_prices_and_context_window.schema.json@@ -625,6 +625,9 @@"supports_image_size": {"type": "boolean"},+ "supports_legacy_thinking": {+ "type": "boolean"+ },"supports_low_reasoning_effort": {"type": "boolean"},diff --git a/tests/test_litellm/test_utils.py b/tests/test_litellm/test_utils.pyindex d655eb96a02..cb451d02efd 100644--- a/tests/test_litellm/test_utils.py+++ b/tests/test_litellm/test_utils.py@@ -993,6 +993,7 @@ def test_aaamodel_prices_and_context_window_json_is_valid():"supports_xhigh_reasoning_effort": {"type": "boolean"},"supports_max_reasoning_effort": {"type": "boolean"},"supports_adaptive_thinking": {"type": "boolean"},+ "supports_legacy_thinking": {"type": "boolean"},"thinking_always_on": {"type": "boolean"},"supports_mid_conversation_system": {"type": "boolean"},"supports_sampling_params": {"type": "boolean"},