mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-06 08:16:43 +00:00
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:
parent
fcc203e35b
commit
ab549a8da3
2 changed files with 3 additions and 3 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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),
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue