We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4f1ea10 commit 84b1a3eCopy full SHA for 84b1a3e
google/generativeai/generative_models.py
@@ -534,7 +534,7 @@ async def send_message_async(
534
if generation_config.get("candidate_count", 1) > 1:
535
raise ValueError("Can't chat with `candidate_count > 1`")
536
537
- response = await self.model.generate_content(
+ response = await self.model.generate_content_async(
538
contents=history,
539
generation_config=generation_config,
540
safety_settings=safety_settings,
0 commit comments