Expand description
Provider options read from provider_options["google"] (and the
configured provider name when it differs).
Structs§
- Google
Language Model Options - Language model options (
provider_options["google"]). - Image
Config - Image generation configuration (
imageConfig). - Part
Options - Part-level options and metadata (
thoughtSignature,thought,serverToolCallId,serverToolType). - Safety
Setting - A safety setting (
{category, threshold}). - Thinking
Config - Thinking configuration (
thinkingConfig).
Functions§
- parse_
merged - Parses
Tunder the canonicalgooglekey and, when the configured name differs, under that name as well;mergecombines the two (the custom key wins). - parse_
options - Parses the language model options (canonical key, then configured name).
- part_
options - Reads the raw option object of a part or message: the configured name first, then the canonical key.
- read_
options - Deserializes
objectintoT, ignoring unknown keys. - read_
part_ options - Reads the part options of a prompt part.