codetether_agent/tui/app/smart_switch/
mod.rs1pub mod candidates;
4pub mod error_detection;
5pub mod extra;
6pub mod helpers;
7pub mod local_model;
8pub mod models;
9pub mod priority;
10pub mod retry;
11pub mod same_provider;
12
13#[cfg(test)]
14mod test_candidates;
15#[cfg(test)]
16mod tests;
17
18pub use candidates::smart_switch_candidates;
19pub use error_detection::{
20 is_retryable_provider_error, normalize_provider_alias, smart_switch_model_key,
21};
22pub use helpers::{should_execute_smart_switch, smart_switch_max_retries};
23pub use models::smart_switch_preferred_models;
24pub use retry::{PendingSmartSwitchRetry, maybe_schedule_smart_switch_retry};
25
26pub const SCROLL_BOTTOM: usize = 1_000_000;