MCPcopy Create free account
hub / github.com/GCWing/BitFun / apply_agent_selection

Method apply_agent_selection

src/apps/cli/src/ui/startup.rs:1623–1630  ·  view source on GitHub ↗
(&mut self, selected: &AgentItem)

Source from the content-addressed store, hash-verified

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();

Callers 1

handle_keyMethod · 0.45

Calls 2

cloneMethod · 0.45

Tested by

no test coverage detected