MCPcopy Create free account
hub / github.com/aws/amazon-q-developer-cli / get_active

Method get_active

crates/chat-cli/src/cli/agent/mod.rs:470–472  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

468 }
469
470 pub fn get_active(&self) -> Option<&Agent> {
471 self.agents.get(&self.active_idx)
472 }
473
474 pub fn get_active_mut(&mut self) -> Option<&mut Agent> {
475 self.agents.get_mut(&self.active_idx)

Callers 12

executeMethod · 0.80
spawnMethod · 0.80
handle_inputMethod · 0.80
tool_use_executeMethod · 0.80
contextualize_toolMethod · 0.80
newMethod · 0.80
context_messagesMethod · 0.80
invokeMethod · 0.80
executeMethod · 0.80
executeMethod · 0.80
get_agentMethod · 0.80
display_labelMethod · 0.80

Calls 1

getMethod · 0.45

Tested by

no test coverage detected