Expand description
Provider request parameters.
Structs§
- Completion
Request - Input for a single generation request.
- Message
- A single message in the conversation history.
- Sampling
Params - Sampling parameters.
Enums§
- Image
Data - Placeholder shape for multimodal image payloads. The exact shape is not yet finalized.
- Message
Content - A piece of content inside a message body.
- Provider
Activity Kind - The kind of hosted activity. Only appears inside
MessageContent::ProviderActivity. - Reasoning
Effort - Runtime-level enum for the OpenAI-compatible
reasoning_effortprotocol. - Role
- Thinking
Config - Thinking chain configuration. Providers that do not support the concept of a thinking
chain should ignore the budget field of
Enabled, or reportsuper::FeatureSupport::Unsupportedin the capability matrix. - Tool
Choice - Tool selection strategy.
- Tool
Result Body - Tool result payload. The codec converts it for the wire during serialization: some
wires only support strings, so they stringify
ToolResultBody::Json. - Tool
Result Content - A single block inside
ToolResultBody::Content. Text follows the same semantics asToolResultBody::Text; images reuse the(mime, data)shape fromMessageContent::Image.