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 aa2f97b commit ebc7180Copy full SHA for ebc7180
google/genai/models.py
@@ -8342,7 +8342,7 @@ async def generate_content_stream(
8342
model: str,
8343
contents: Union[types.ContentListUnion, types.ContentListUnionDict],
8344
config: Optional[types.GenerateContentConfigOrDict] = None,
8345
- ) -> AsyncIterator[types.GenerateContentResponse]:
+ ) -> Awaitable[AsyncIterator[types.GenerateContentResponse]]:
8346
"""Makes an API request to generate content using a model and yields the model's response in chunks.
8347
8348
For the `model` parameter, supported formats for Vertex AI API include:
0 commit comments