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

Method cycle_agent_reverse

src/apps/cli/src/modes/chat.rs:1972–1979  ·  view source on GitHub ↗
(
        &mut self,
        chat_view: &mut ChatView,
        chat_state: &mut ChatState,
        rt_handle: &tokio::runtime::Handle,
    )

Source from the content-addressed store, hash-verified

1970 }
1971
1972 fn cycle_agent_reverse(
1973 &mut self,
1974 chat_view: &mut ChatView,
1975 chat_state: &mut ChatState,
1976 rt_handle: &tokio::runtime::Handle,
1977 ) {
1978 self.switch_agent_by_offset(-1, chat_view, chat_state, rt_handle);
1979 }
1980
1981 fn switch_agent_by_offset(
1982 &mut self,

Callers 1

handle_key_eventMethod · 0.80

Calls 1

Tested by

no test coverage detected