Skip to main content

Module types

Module types 

Source

Structs§

ImagePart
Inline image data for multimodal messages.
LlmConfig
LLM provider configuration — single config for any provider.
Message
A chat message in the conversation history.
ProviderConfig
Legacy provider configuration (used by OpenAIClient/GeminiClient).
RateLimitInfo
Rate limit info extracted from response headers and/or error body.
SgrResponse
Response from an SGR call — structured output + optional tool calls.
ToolCall
A tool call returned by the model.
Usage

Enums§

Role
SgrError
Errors from SGR calls.