MCPcopy Create free account
hub / github.com/ChrisFeldmeier/OpenCodeRust / AgentModel

Class AgentModel

crates/opencode-tool/src/task.rs:166–169  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

164}
165
166struct AgentModel {
167 model_id: String,
168 provider_id: String,
169}
170
171fn get_agent(name: &str) -> Option<AgentInfo> {
172 let agents = get_available_agents();

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected