Re-exports§
pub use tool_call::FunctionCall;pub use tool_call::ToolCall;pub use tools::Tool;pub use tools::ToolFunction;pub use tools::ToolRegistry;
Modules§
- tool_
call - Tool call parsing and conversion to AgentAction
- tools
- Ollama Tools API support for native function calling
Structs§
- Backend
Config - Backend connection configuration
- Chat
Message - Represents a chat message
- Model
Config - Unified model configuration
- Model
Factory - Model factory - creates model instances
- Model
Response - Response from a model
- Ollama
Options - Ollama-specific options (extracted from backend_options)
- 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
Type Aliases§
- Result
- Result type alias for model operations
- Stream
Callback - Stream callback type for real-time response streaming