mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-09 22:31:41 +00:00
test(google_genai): drop the docstrings from the new adapter tests
The names and assertions already say what each case covers, so the prose only duplicated them.
This commit is contained in:
parent
24e8619db5
commit
ba737e1c5f
1 changed files with 0 additions and 7 deletions
|
|
@ -1279,12 +1279,6 @@ def test_inline_data_backward_compatibility_text_only():
|
|||
|
||||
|
||||
def test_tools_transformation_parameters_field():
|
||||
"""FunctionDeclaration.parameters must survive the generate_content -> completion bridge.
|
||||
|
||||
The google-genai SDKs serialize tool schemas to `parameters`; only gemini-cli
|
||||
sends `parametersJsonSchema`. Reading just the latter silently dropped the
|
||||
schema, so the upstream model received a function with no arguments.
|
||||
"""
|
||||
from litellm.google_genai.adapters.transformation import GoogleGenAIAdapter
|
||||
|
||||
adapter = GoogleGenAIAdapter()
|
||||
|
|
@ -1322,7 +1316,6 @@ def test_tools_transformation_parameters_field():
|
|||
|
||||
|
||||
def test_tools_transformation_prefers_parameters_json_schema():
|
||||
"""When both fields are present, parametersJsonSchema wins."""
|
||||
from litellm.google_genai.adapters.transformation import GoogleGenAIAdapter
|
||||
|
||||
adapter = GoogleGenAIAdapter()
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue