Skip to main content

Crate armillae_core

Crate armillae_core 

Source
Expand description

Provider-independent protocols shared by Armillae components.

Structs§

CompletionRequest
A complete, single model-call request.
CompletionResponse
The normalized result of one model call.
GenerationOptions
Generation controls with cross-provider meaning.
InvalidToolCallId
Returned when a tool call identifier is empty.
Message
A role-bearing message in model-call history.
ProviderData
Provider-specific data that has no normalized representation yet.
ProviderExtensions
Namespaced request values understood by a specific Adapter.
TextContent
Plain text content.
TokenUsage
Normalized token accounting for a model response.
ToolCall
A structured tool invocation requested by a model.
ToolCallId
A non-empty identifier correlating a tool call with its result.
ToolDefinition
A tool made available to a model call.
ToolResult
The result associated with one tool call.

Enums§

AssistantContent
An ordered item emitted by the assistant.
CompletionEvent
A semantic event in one streaming model response.
ContentKind
The normalized kind of a streaming content block.
ContentPart
An ordered content item within a message.
FinishReason
Why the Provider ended generation.
OutputFormat
A requested output representation.
Role
The author or protocol role of a message.
StructuredOutputMode
Where a structured response’s schema is enforced during generation.
ToolChoice
The model’s permitted tool-selection behavior.
ToolResultContent
An ordered content item in a tool result.