diff --git a/src/apps/cli/src/model_selection.rs b/src/apps/cli/src/model_selection.rs index 0c0e0ec9c3..7cea572033 100644 --- a/src/apps/cli/src/model_selection.rs +++ b/src/apps/cli/src/model_selection.rs @@ -17,6 +17,7 @@ pub(crate) fn resolve_mode_model_id(ai_config: &AIConfig) -> Option { /// Resolve the Runtime-owned Session selector to the concrete catalog model /// used by CLI display surfaces. A missing selector is limited to the fresh /// Session fallback; it does not become Session authority in the Client. +#[cfg(test)] pub(crate) fn resolve_session_model_display_id( ai_config: &AIConfig, session_selector: Option<&str>, diff --git a/src/apps/cli/src/ui/agent_selector.rs b/src/apps/cli/src/ui/agent_selector.rs index ad7b45c0d4..b8786e6348 100644 --- a/src/apps/cli/src/ui/agent_selector.rs +++ b/src/apps/cli/src/ui/agent_selector.rs @@ -76,6 +76,7 @@ impl AgentSelectorState { ); } + #[cfg(test)] pub(super) fn show_modes_only( &mut self, agents: Vec, diff --git a/src/apps/cli/src/ui/chat/popups.rs b/src/apps/cli/src/ui/chat/popups.rs index 18a86dc755..6f6f7bcf9f 100644 --- a/src/apps/cli/src/ui/chat/popups.rs +++ b/src/apps/cli/src/ui/chat/popups.rs @@ -265,6 +265,7 @@ impl ChatView { self.popup_stack.push(PopupType::AgentSelector); } + #[cfg(test)] pub(crate) fn show_agent_modes_only( &mut self, agents: Vec,