mermaid_cli/models/
mod.rs1mod adapters; mod backend; mod config; mod error; pub mod tool_call; pub mod tools;
11mod traits; mod types; pub use backend::ModelFactory;
16pub use config::{BackendConfig, ModelConfig, OllamaOptions};
17pub use error::{BackendError, ConfigError, ErrorCategory, ModelError, Result, UserFacingError};
18pub use tool_call::{FunctionCall, ToolCall};
19pub use tools::{Tool, ToolFunction, ToolRegistry};
20pub use traits::Model;
21pub use types::{ChatMessage, MessageRole, ModelResponse, StreamCallback, TokenUsage};