Skip to main content

Module gemini

Module gemini 

Source
Available on crate features gemini and models only.
Expand description

Gemini model provider (Google AI Studio and Vertex AI).

Modules§

client
Gemini model client implementation.
streaming
Streaming response handling for Gemini.

Structs§

GeminiModel
Gemini model client wrapping the adk-gemini crate for the Llm trait.
RetryConfig
Configuration for automatic retry with exponential backoff.
ThinkingConfig
Configuration for thinking (Gemini 2.5 and 3 series)

Enums§

ThinkingLevel
Native thinking level for Gemini 3 models.

Functions§

vertex_env_requested
Reports whether the environment opts in to the Vertex AI backend.