Expand description
siumai-protocol-gemini
Google Gemini protocol standard for siumai: request/response mapping, streaming conversion, and protocol-local helpers.
Modules§
- auth
- Authentication helpers and token providers. This module defines a minimal trait to supply Bearer tokens (e.g., for Vertex AI).
- builder
- Builder utilities shared across workspace crates.
- client
- Client Module
- core
- Core Abstractions
- defaults
- Default Configuration Values
- encoding
- Provider wire-format encoders.
- error
- Error handling (re-export).
- execution
- Execution Layer - Unified Public API
- hosted_
tools - Provider-defined tools (core crate).
- observability
- Observability entrypoint: unified namespace for tracing and telemetry.
- retry
- Retry module (ergonomic namespace)
- retry_
api - Public Retry API Facade
- standards
- streaming
- Streaming Module
- tools
- Provider-defined tool factories (re-export).
- traits
- Core Trait Definitions
- types
- Core data type definitions (re-export).
- utils
- Utility modules for siumai
Structs§
- Chat
Response - Chat response from the provider
- Common
Params - Common AI parameters
Enums§
- LlmError
- The primary error type for the LLM library.