Skip to main content

armillae_core/
lib.rs

1//! Provider-independent protocols shared by Armillae components.
2
3mod completion;
4mod message;
5mod stream;
6mod tool;
7mod usage;
8
9pub use completion::{
10    AssistantContent, CompletionRequest, CompletionResponse, FinishReason, GenerationOptions,
11    OutputFormat, ProviderData, ProviderExtensions, StructuredOutputMode,
12};
13pub use message::{ContentPart, Message, Role, TextContent};
14pub use stream::{CompletionEvent, ContentKind};
15pub use tool::{
16    InvalidToolCallId, ToolCall, ToolCallId, ToolChoice, ToolDefinition, ToolResult,
17    ToolResultContent,
18};
19pub use usage::TokenUsage;