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

Function build_effective_registry_for_test

core/src/agent_api/tests.rs:328–333  ·  view source on GitHub ↗
(
    agent_registry: Option<Arc<crate::skills::SkillRegistry>>,
    opts: &SessionOptions,
)

Source from the content-addressed store, hash-verified

326}
327
328fn build_effective_registry_for_test(
329 agent_registry: Option<Arc<crate::skills::SkillRegistry>>,
330 opts: &SessionOptions,
331) -> Arc<crate::skills::SkillRegistry> {
332 super::capabilities::build_effective_skill_registry(agent_registry.as_deref(), opts)
333}
334
335#[tokio::test]
336async fn test_from_config() {

Calls 1

Tested by

no test coverage detected