Skip to main content

Module google

Module google 

Source
Expand description

google-generative-ai: the Gemini API’s streamGenerateContent.

Port of packages/ai/src/api/google-generative-ai.ts and google-shared.ts in pi v1.0.0, with the request and stream handling of @google/genai 2.21.

Functions§

requires_tool_call_id
Models that need explicit ids on function calls and responses.