From 1432e233cfeea97fda9734751fc69c2e93302e40 Mon Sep 17 00:00:00 2001 From: yuneng-jiang Date: Mon, 9 Nov 2026 18:02:07 -0800 Subject: [PATCH] test(integration): drop the empty-string n case from the Gemini long decode test (#50796) Google AI Studio answers generationConfig.candidate_count "" with a 400 before it generates anything, so the truncated 200 this case scripts is a reply Google never gives. The other malformed count and cap cases stay. --- tests/integration/providers/test_gemini_long_decode_wire.py | 1 - 1 file changed, 1 deletion(-) diff --git a/tests/integration/providers/test_gemini_long_decode_wire.py b/tests/integration/providers/test_gemini_long_decode_wire.py index 90e7616e26c..6ad174f6937 100644 --- a/tests/integration/providers/test_gemini_long_decode_wire.py +++ b/tests/integration/providers/test_gemini_long_decode_wire.py @@ -1213,7 +1213,6 @@ def test_request_with_no_output_cap_is_never_continued_and_returns_googles_cut_w _NOT_A_NUMBER: Final[tuple[tuple[str, Mapping[str, JsonValue], int | None], ...]] = ( ("n-string", {"n": "1"}, CAP), ("n-list", {"n": [1]}, CAP), - ("n-empty", {"n": ""}, CAP), ("n-5kb", {"n": "1" * 5120}, CAP), ("max_tokens-string", {"max_tokens": "300"}, None), ("max_tokens-list", {"max_tokens": [300]}, None),