Skip to content

The fastest, litest AI Gateway. Rust core with Python SDK. Call 100+ LLM APIs in OpenAI (or native) format with cost tracking, guardrails, load balancing, and logging [Bedrock, Azure, OpenAI, Anthropic, OpenAI, VertexAI, vLLM, Nvidia NIM]

fix test /generateContent route

Ishaan Jaffer4ab571f68422
diff --git a/litellm/google_genai/main.py b/litellm/google_genai/main.py
index a746cc2077e..8a9cb809404 100644
--- a/litellm/google_genai/main.py
+++ b/litellm/google_genai/main.py
@@ -405,6 +405,7 @@ async def agenerate_content_stream(
config=setup_result.generate_content_config_dict,
litellm_params=setup_result.litellm_params,
tools=tools,
+ stream=True,
**kwargs,
)
)
@@ -485,6 +486,7 @@ def generate_content_stream(
config=setup_result.generate_content_config_dict,
_is_async=_is_async,
litellm_params=setup_result.litellm_params,
+ stream=True,
**kwargs,
)