(&mut self, selected: &AgentItem)
| 1621 | } |
| 1622 | |
| 1623 | fn apply_agent_selection(&mut self, selected: &AgentItem) { |
| 1624 | if selected.id != self.agent_type { |
| 1625 | self.agent_type = selected.id.clone(); |
| 1626 | self.status = Some(format!("Agent switched to: {}", selected.id)); |
| 1627 | // Reload model name for new agent |
| 1628 | self.load_current_model_name(); |
| 1629 | } |
| 1630 | } |
| 1631 | |
| 1632 | fn show_theme_selector(&mut self) { |
| 1633 | let themes = self.list_available_themes(); |
no test coverage detected