test(fallbacks): use an unmapped fable id now that 5.1 is in the cost map

Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
This commit is contained in:
mateo 2026-09-01 18:25:18 +00:00
parent fcc203e35b
commit ab549a8da3
2 changed files with 3 additions and 3 deletions

View file

@ -366,7 +366,7 @@ def test_shipped_rules_stack_adaptive_and_mid_conversation_flags(shipped_cost_ma
def test_shipped_rules_flag_unmapped_fable_as_always_on_thinking(shipped_cost_map):
"""An unmapped Fable/Mythos id picks up ``thinking_always_on`` from the
claude-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_cost
info = 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, bare
major or major-minor, so a new family shaped like claude-fable-5 gets adaptive
thinking 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_cost
info = litellm.get_model_info(model, custom_llm_provider="anthropic")
assert info["supports_mid_conversation_system"] is True

View file

@ -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),