This commit is contained in:
Slipstream 2025-04-29 17:24:53 -06:00
parent 51a39320b7
commit 224e37aef2
Signed by: slipstream
GPG Key ID: 13E498CE010AC6FD

View File

@ -338,7 +338,7 @@ async def call_google_genai_api_with_retry(
print(f"Sending API request for {request_desc} using {model_name} (Attempt {attempt + 1}/{API_RETRY_ATTEMPTS + 1})...")
# Use the non-streaming async call
response = await genai_client.models.generate_content_async(
response = await genai_client.models.generate_content(
contents=contents,
generation_config=generation_config,
safety_settings=safety_settings or STANDARD_SAFETY_SETTINGS,