Expand description
Gemini API compatibility facade for VT Code.
Canonical internal imports live under crate::llm::providers::gemini::wire.
Modules§
Structs§
- Candidate
- Client
- Client
Config - Configuration for HTTP client optimization
- Content
- Function
Call - Function
Calling Config - Function
Declaration - Function
Response - Generate
Content Request - Generate
Content Response - Retry
Config - Retry configuration for streaming operations
- Streaming
Candidate - Streaming candidate structure
- Streaming
Config - Configuration for the streaming processor
- Streaming
Metrics - Streaming metrics for monitoring and debugging
- Streaming
Processor - Streaming processor for handling real-time responses from the Gemini API
- Streaming
Response - Streaming response structure
- Tool
- Tool
Config
Enums§
- Part
- IMPORTANT: Variant ordering matters for
#[serde(untagged)]deserialization. Serde tries variants in declaration order and returns the first successful match. Variants with required fields (FunctionCall, FunctionResponse, InlineData, Text) must come BEFORE CacheControl, which has only optional fields and would otherwise act as a catch-all, matching any JSON object. - Streaming
Error - Streaming error types for better error classification and handling