Expand description
Provider-independent protocols shared by Armillae components.
Structs§
- Completion
Request - A complete, single model-call request.
- Completion
Response - The normalized result of one model call.
- Generation
Options - Generation controls with cross-provider meaning.
- Invalid
Tool Call Id - Returned when a tool call identifier is empty.
- Message
- A role-bearing message in model-call history.
- Provider
Data - Provider-specific data that has no normalized representation yet.
- Provider
Extensions - Namespaced request values understood by a specific Adapter.
- Text
Content - Plain text content.
- Token
Usage - Normalized token accounting for a model response.
- Tool
Call - A structured tool invocation requested by a model.
- Tool
Call Id - A non-empty identifier correlating a tool call with its result.
- Tool
Definition - A tool made available to a model call.
- Tool
Result - The result associated with one tool call.
Enums§
- Assistant
Content - An ordered item emitted by the assistant.
- Completion
Event - A semantic event in one streaming model response.
- Content
Kind - The normalized kind of a streaming content block.
- Content
Part - An ordered content item within a message.
- Finish
Reason - Why the Provider ended generation.
- Output
Format - A requested output representation.
- Role
- The author or protocol role of a message.
- Structured
Output Mode - Where a structured response’s schema is enforced during generation.
- Tool
Choice - The model’s permitted tool-selection behavior.
- Tool
Result Content - An ordered content item in a tool result.