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

Class AgentInfo

crates/opencode-server/src/routes.rs:4389–4393  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4387
4388#[derive(Debug, Serialize)]
4389struct AgentInfo {
4390 id: String,
4391 name: String,
4392 description: Option<String>,
4393}
4394
4395async fn list_agents() -> Result<Json<Vec<AgentInfo>>> {
4396 let mut config = std::env::current_dir()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected