Skip to main content

llm_manager/
lib.rs

1//! Library target for llm-manager.
2//!
3//! Re-exports the public API so integration tests in `tests/` can import from `llm_manager`.
4//! This enables testing without modifying the binary source files.
5
6// Re-declare modules so they're available as `pub mod` in the library target.
7// These mirror the private modules in main.rs.
8pub mod backend;
9pub mod config;
10pub mod models;
11pub mod serve;
12pub mod serve_api;
13pub mod tui;
14
15// Re-export key types for convenience in tests.
16pub use config::{
17    Config, DefaultParams, LogEntry, LogLevel, ModelConfigStore, ModelOverride, Profile,
18    SystemPromptPreset, WsServer, builtin_profiles, builtin_system_prompt_presets,
19};
20pub use models::*;
21pub use tui::app::{ActivePanel, App, ConfirmationKind, GlobalMode, LoadingPhase, ModelsMode};