MCPcopy Create free account
hub / github.com/AI45Lab/Code / from_config

Method from_config

core/src/agent_api.rs:357–359  ·  view source on GitHub ↗

Create from a [`CodeConfig`] struct.

(config: CodeConfig)

Source from the content-addressed store, hash-verified

355
356 /// Create from a [`CodeConfig`] struct.
357 pub async fn from_config(config: CodeConfig) -> Result<Self> {
358 agent_bootstrap::build_agent_from_config(config).await
359 }
360
361 /// Re-fetch tool definitions from all connected global MCP servers and
362 /// update the internal cache.

Callers

nothing calls this directly

Calls 1

build_agent_from_configFunction · 0.85

Tested by

no test coverage detected