Re-exports§
pub use tool_call::ToolCall;pub use tool_call::FunctionCall;pub use tools::Tool;pub use tools::ToolFunction;pub use tools::ToolRegistry;
Modules§
Structs§
- Backend
Config - Backend connection configuration
- Chat
Message - Represents a chat message
- Lazy
Project Context - A lazily-loaded project context that loads files on demand
- Model
Capabilities - Model capabilities (what the model/backend supports)
- Model
Config - Unified model configuration
- Model
Factory - Factory for creating model instances
- Model
Response - Response from a model
- Project
Context - Represents the context of the current project
- Token
Usage - Token usage statistics
- User
Facing Error - User-facing error information with actionable suggestions
Enums§
- Backend
Error - Backend-specific errors
- Config
Error - Configuration errors
- Error
Category - Error categories for visual differentiation
- Message
Role - Model
Error - Top-level error type for all model operations
Traits§
- Model
- Core trait that all model adapters implement
Functions§
- get_
priority_ files - Priority files to load first for better UX
Type Aliases§
- Result
- Result type alias for model operations
- Stream
Callback - Stream callback type for real-time response streaming