mirror of
https://github.com/BerriAI/litellm.git
synced 2026-11-11 08:38:24 +00:00
Correct superbot's output limit to the router's published ceiling
The cost-map rows moved to the router's live ceiling, 131072, so the test that asserts them moves with it: max_output_tokens and max_tokens are both 131072 now. The first push of this change left the test at 65_536, which is what llms-providers caught. Upstream tooling is not re-run here; this PR's CI runs it.
This commit is contained in:
parent
67a0bcd4bf
commit
eb6dcb38f6
1 changed files with 2 additions and 1 deletions
|
|
@ -156,7 +156,8 @@ def test_superbot_models_are_priced_in_both_cost_maps(model_id: str, context: in
|
|||
assert row["litellm_provider"] == "superbot-gg"
|
||||
assert row["mode"] == "chat"
|
||||
assert row["max_input_tokens"] == context
|
||||
assert row["max_output_tokens"] == 65_536
|
||||
assert row["max_output_tokens"] == 131_072
|
||||
assert row["max_tokens"] == 131_072
|
||||
assert row["input_cost_per_token"] == pytest.approx(1.0e-6)
|
||||
assert row["output_cost_per_token"] == pytest.approx(5.0e-6)
|
||||
assert row["cache_read_input_token_cost"] == pytest.approx(5.0e-8)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue