Skip to main content

Module request

Module request 

Source
Expand description

Request body construction (generateContent).

Structs§

PreparedRequest
A request body plus everything the response mapping needs.

Constants§

CONFIGURABLE_HARM_CATEGORIES
Harm categories that threshold applies to.

Functions§

prepare_request
Builds the generateContent request body for options.
tool_name_mapping
Tool name mapping of a call (google.code_executioncode_execution).