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

Function register_skill_capability

core/src/agent_api/capabilities.rs:116–124  ·  view source on GitHub ↗
(
    tool_executor: Arc<ToolExecutor>,
    llm_client: Arc<dyn LlmClient>,
    skill_registry: Arc<SkillRegistry>,
    config: AgentConfig,
)

Source from the content-addressed store, hash-verified

114}
115
116pub(super) fn register_skill_capability(
117 tool_executor: Arc<ToolExecutor>,
118 llm_client: Arc<dyn LlmClient>,
119 skill_registry: Arc<SkillRegistry>,
120 config: AgentConfig,
121) {
122 let registry = Arc::clone(tool_executor.registry());
123 crate::tools::register_skill(&registry, llm_client, skill_registry, tool_executor, config);
124}
125
126pub(super) fn build_effective_skill_registry(
127 agent_registry: Option<&SkillRegistry>,

Callers 1

build_agent_sessionFunction · 0.85

Calls 2

register_skillFunction · 0.85
registryMethod · 0.80

Tested by

no test coverage detected