test: restore gemma-3-27b to keep-extra_content coverage

Review finding: PR #40632's branch had silently dropped gemma-3-27b
from the keep-extra_content test loop (part of its Gemma narrowing,
which this salvage reverts). Restore main's original coverage so a
future narrowing back to Gemini-only fails loudly.
This commit is contained in:
kshitijk4poor 2026-07-09 02:27:35 +05:30 committed by kshitij
parent 63ddd022a2
commit e7648d5912

View file

@ -77,7 +77,7 @@ class TestChatCompletionsBasic:
every turn stripping it would 400. Keep extra_content for Gemini
targets (including aggregator slugs like google/gemini-3-pro).
"""
for model in ("gemini-3-pro", "google/gemini-3-pro-preview"):
for model in ("gemini-3-pro", "google/gemini-3-pro-preview", "gemma-3-27b"):
msgs = self._msg_with_extra_content()
result = transport.convert_messages(msgs, model=model)
assert result[0]["tool_calls"][0]["extra_content"] == {