From eb6dcb38f69f70f5813f1bfc3b60182507ef31a0 Mon Sep 17 00:00:00 2001 From: superbot <5358899+ux-xd@users.noreply.github.com> Date: Tue, 20 Oct 2026 00:50:39 -0600 Subject: [PATCH] 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. --- tests/unit/llms/openai_like/test_superbot_provider.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/unit/llms/openai_like/test_superbot_provider.py b/tests/unit/llms/openai_like/test_superbot_provider.py index c9764de19dc..3c5403293f1 100644 --- a/tests/unit/llms/openai_like/test_superbot_provider.py +++ b/tests/unit/llms/openai_like/test_superbot_provider.py @@ -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)