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

Function auto_description

core/src/agent/auto_delegation.rs:443–449  ·  view source on GitHub ↗
(agent: &AgentDefinition, prompt: &str)

Source from the content-addressed store, hash-verified

441}
442
443fn auto_description(agent: &AgentDefinition, prompt: &str) -> String {
444 format!(
445 "Auto-delegated to {} for: {}",
446 agent.name,
447 crate::text::truncate_utf8(prompt, 120)
448 )
449}
450
451fn auto_prompt(agent: &AgentDefinition, prompt: &str) -> String {
452 format!(

Callers 1

score_agent_for_promptFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected