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

Method get_mode_agents

src/apps/cli/src/modes/chat.rs:1957–1961  ·  view source on GitHub ↗
(&self, rt_handle: &tokio::runtime::Handle)

Source from the content-addressed store, hash-verified

1955 }
1956
1957 fn get_mode_agents(&self, rt_handle: &tokio::runtime::Handle) -> Vec<AgentInfo> {
1958 let registry = get_agent_registry();
1959 let modes = tokio::task::block_in_place(|| rt_handle.block_on(registry.get_modes_info()));
1960 modes
1961 }
1962
1963 fn cycle_agent(
1964 &mut self,

Callers 3

apply_model_selectionMethod · 0.45
show_agent_selectorMethod · 0.45

Calls 2

get_agent_registryFunction · 0.85
get_modes_infoMethod · 0.80

Tested by

no test coverage detected