Skip to main content

Module types

Module types 

Source
Expand description

OpenAI-compatible wire types. Ported from the prototype openai-runtime crate.

Note: the prototype’s StreamEvent is renamed to OaiEvent to avoid clashing with crate::runtime::types::StreamEvent.

Structs§

ChatFile
ChatImageUrl
ChatMessage
ChatOptions
ChatRequest
FunctionCall
FunctionDefinition
ProviderConfig
Credential-free routing data for one provider/model pair. Deliberately has no API-key field: credentials are broker-owned and applied broker-side at request time (see agent_core::auth::broker).
StreamOptions
ToolCall
ToolDefinition

Enums§

ChatContentPart
Chat Completions content parts. Canonical attachment bytes are lowered only at the provider boundary; Responses maps these same parts to its input types.
FinishReason
OaiEvent
ToolChoice