Expand description
Request body construction (generateContent).
Structs§
- Prepared
Request - A request body plus everything the response mapping needs.
Constants§
- CONFIGURABLE_
HARM_ CATEGORIES - Harm categories that
thresholdapplies to.
Functions§
- prepare_
request - Builds the
generateContentrequest body foroptions. - tool_
name_ mapping - Tool name mapping of a call (
google.code_execution→code_execution).