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(fallbacks): use an unmapped fable id now that 5.1 is in the cost map
mateoab549a8da3f1
diff --git a/tests/test_litellm/litellm_core_utils/test_fallback_generalizations.py b/tests/test_litellm/litellm_core_utils/test_fallback_generalizations.pyindex 0587628e2fe..b1e8163b91d 100644--- a/tests/test_litellm/litellm_core_utils/test_fallback_generalizations.py+++ b/tests/test_litellm/litellm_core_utils/test_fallback_generalizations.py@@ -366,7 +366,7 @@ def test_shipped_rules_stack_adaptive_and_mid_conversation_flags(shipped_cost_madef test_shipped_rules_flag_unmapped_fable_as_always_on_thinking(shipped_cost_map):"""An unmapped Fable/Mythos id picks up ``thinking_always_on`` from theclaude-always-on-thinking rule, while other unmapped Claudes stay unflagged."""- model = "claude-fable-5-1"+ model = "claude-fable-6-1"assert model not in litellm.model_costinfo = litellm.get_model_info(model, custom_llm_provider="anthropic")assert info["thinking_always_on"] is True@@ -419,7 +419,7 @@ def test_shipped_rules_cover_new_families_like_fable_at_5_plus(shipped_cost_map)"""Both version gates accept any claude-<family>- id at major 5 or higher, baremajor or major-minor, so a new family shaped like claude-fable-5 gets adaptivethinking and mid-conversation system support without a cost-map entry."""- model = "claude-fable-5-1"+ model = "claude-fable-6-1"assert model not in litellm.model_costinfo = litellm.get_model_info(model, custom_llm_provider="anthropic")assert info["supports_mid_conversation_system"] is Truediff --git a/tests/test_litellm/llms/anthropic/chat/test_anthropic_chat_transformation.py b/tests/test_litellm/llms/anthropic/chat/test_anthropic_chat_transformation.pyindex 25e2c3cda80..435cee55de3 100644--- a/tests/test_litellm/llms/anthropic/chat/test_anthropic_chat_transformation.py+++ b/tests/test_litellm/llms/anthropic/chat/test_anthropic_chat_transformation.py@@ -6178,7 +6178,7 @@ def test_is_anthropic_usage_object_rejects_responses_api_usage():("claude-fable-5", True),("claude-mythos-5", True),# unmapped future family member -> claude-always-on-thinking fallback rule- ("claude-fable-5-1", True),+ ("claude-fable-6-1", True),# adaptive-capable models that ACCEPT disabled must keep it verbatim("claude-opus-5", False),("claude-sonnet-5", False),