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§
- Chat
File - Chat
Image Url - Chat
Message - Chat
Options - Chat
Request - Function
Call - Function
Definition - Provider
Config - 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). - Stream
Options - Tool
Call - Tool
Definition
Enums§
- Chat
Content Part - Chat Completions content parts. Canonical attachment bytes are lowered only at the provider boundary; Responses maps these same parts to its input types.
- Finish
Reason - OaiEvent
- Tool
Choice