Expand description
Core domain types.
These types represent the pure domain model, independent of any infrastructure concerns (database, filesystem, etc.).
§Structure
agent- Agent loop types (AgentConfig,AgentMessage,AgentEvent, etc.)model- Model types (Model,NewModel)mcp- MCP server types (McpServer,NewMcpServer, etc.)chat- Chat conversation and message typesgguf- GGUF metadata and capability typescapabilities- Model capability detection and inference
Re-exports§
pub use inference::InferenceConfig;pub use mcp::McpEnvEntry;pub use mcp::McpServer;pub use mcp::McpServerConfig;pub use mcp::McpServerStatus;pub use mcp::McpServerType;pub use mcp::McpTool;pub use mcp::McpToolResult;pub use mcp::NewMcpServer;pub use mcp::UpdateMcpServer;pub use chat::Conversation;pub use chat::ConversationUpdate;pub use chat::Message;pub use chat::MessageRole;pub use chat::NewConversation;pub use chat::NewMessage;pub use gguf::CapabilityFlags;pub use gguf::GgufCapabilities;pub use gguf::GgufMetadata;pub use gguf::GgufValue;pub use gguf::RawMetadata;pub use gguf::ReasoningDetection;pub use gguf::ToolCallingDetection;pub use agent::AGENT_EVENT_CHANNEL_CAPACITY;pub use agent::AgentConfig;pub use agent::AgentConfigError;pub use agent::AgentEvent;pub use agent::AgentMessage;pub use agent::AssistantContent;pub use agent::DEFAULT_MAX_ITERATIONS;pub use agent::DEFAULT_MAX_PARALLEL_TOOLS;pub use agent::LlmStreamEvent;pub use agent::MAX_ITERATIONS_CEILING;pub use agent::MAX_PARALLEL_TOOLS_CEILING;pub use agent::MAX_TOOL_TIMEOUT_MS_CEILING;pub use agent::MIN_CONTEXT_BUDGET_CHARS;pub use agent::MIN_TOOL_TIMEOUT_MS;pub use agent::ToolCall;pub use agent::ToolDefinition;pub use agent::ToolResult;pub use capabilities::ChatMessage;pub use capabilities::ModelCapabilities;pub use capabilities::infer_from_chat_template;pub use capabilities::transform_messages_for_capabilities;
Modules§
- agent
- Agent loop domain types.
- capabilities
- Model capability detection and inference.
- chat
- Chat domain types.
- gguf
- GGUF domain types.
- inference
- Inference configuration types.
- mcp
- MCP (Model Context Protocol) server domain types.
- model 🔒
- Model domain types.
Structs§
- Model
- A model that exists in the system with a database ID.
- Model
File - Represents a single file (shard) belonging to a model.
- Model
Filter Options - Filter options for the model library UI.
- NewModel
- A model to be inserted into the system (no ID yet).
- NewModel
File - A model file entry to be inserted into the system (no ID yet).
- Range
Values - A range of numeric values with min and max.