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

Method get_mode_agents

src/apps/cli/src/ui/startup.rs:2089–2095  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

2087 }
2088
2089 fn get_mode_agents(&self) -> Vec<AgentInfo> {
2090 let registry = get_agent_registry();
2091 let modes = tokio::task::block_in_place(|| {
2092 tokio::runtime::Handle::current().block_on(registry.get_modes_info())
2093 });
2094 modes
2095 }
2096
2097 fn cycle_agent(&mut self, offset: isize) {
2098 let modes = self.get_mode_agents();

Callers 3

apply_model_selectionMethod · 0.45
show_agent_selectorMethod · 0.45
cycle_agentMethod · 0.45

Calls 2

get_agent_registryFunction · 0.85
get_modes_infoMethod · 0.80

Tested by

no test coverage detected