Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
execute
Method · 0.80
spawn
Method · 0.80
handle_input
Method · 0.80
tool_use_execute
Method · 0.80
contextualize_tool
Method · 0.80
new
Method · 0.80
context_messages
Method · 0.80
invoke
Method · 0.80
execute
Method · 0.80
execute
Method · 0.80
get_agent
Method · 0.80
display_label
Method · 0.80
Calls
1
get
Method · 0.45
Tested by
no test coverage detected