Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/ChrisFeldmeier/OpenCodeRust
/ get
Method
get
crates/opencode-agent/src/agent.rs:606–608 ·
view source on GitHub ↗
(&self, name: &str)
Source
from the content-addressed store, hash-verified
604
}
605
606
pub fn get(&self, name: &str) -> Option<&AgentInfo> {
607
self.agents.get(name)
608
}
609
610
pub fn get_mut(&mut self, name: &str) -> Option<&mut AgentInfo> {
611
self.agents.get_mut(name)
Callers
10
apply_agent_config
Method · 0.45
default_agent
Method · 0.45
generate
Method · 0.45
builtin_agents_have_expected_defaults
Function · 0.45
config_can_override_builtin_agent_model
Function · 0.45
registry_supports_dynamic_custom_agents_from_config
Function · 0.45
deprecated_mode_config_forces_primary_mode
Function · 0.45
get_provider
Method · 0.45
with_subsession_callbacks
Method · 0.45
persisted_subsessions_roundtrip
Function · 0.45
Calls
no outgoing calls
Tested by
4
builtin_agents_have_expected_defaults
Function · 0.36
config_can_override_builtin_agent_model
Function · 0.36
registry_supports_dynamic_custom_agents_from_config
Function · 0.36
deprecated_mode_config_forces_primary_mode
Function · 0.36