1pub mod agent;
17pub mod capabilities;
18pub mod chat;
19pub mod gguf;
20pub mod inference;
21pub mod mcp;
22mod model;
23pub mod thinking;
24
25pub use model::{Model, ModelFile, ModelFilterOptions, NewModel, NewModelFile, RangeValues};
27
28pub use inference::InferenceConfig;
30
31pub use mcp::{
33 McpEnvEntry, McpServer, McpServerConfig, McpServerStatus, McpServerType, McpTool,
34 McpToolResult, NewMcpServer, UpdateMcpServer,
35};
36
37pub use chat::{
39 Conversation, ConversationUpdate, Message, MessageRole, NewConversation, NewMessage,
40};
41
42pub use gguf::{
44 CapabilityFlags, GgufCapabilities, GgufMetadata, GgufValue, RawMetadata, ReasoningDetection,
45 ToolCallingDetection,
46};
47
48pub use agent::{
50 AGENT_EVENT_CHANNEL_CAPACITY, AgentConfig, AgentConfigError, AgentEvent, AgentMessage,
51 AssistantContent, DEFAULT_MAX_ITERATIONS, DEFAULT_MAX_PARALLEL_TOOLS,
52 DEFAULT_MAX_STAGNATION_STEPS, LlmStreamEvent, MAX_ITERATIONS_CEILING,
53 MAX_PARALLEL_TOOLS_CEILING, MAX_TOOL_TIMEOUT_MS_CEILING, MIN_CONTEXT_BUDGET_CHARS,
54 MIN_TOOL_TIMEOUT_MS, ToolCall, ToolDefinition, ToolResult,
55};
56
57pub use capabilities::{
59 ChatMessage, ModelCapabilities, infer_from_chat_template, transform_messages_for_capabilities,
60};
61
62pub use thinking::{
64 ParsedThinkingContent, ThinkingAccumulator, ThinkingEvent, embed_thinking_content,
65 format_thinking_duration, has_thinking_content, normalize_thinking_tags,
66 parse_thinking_content,
67};