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

Function auto_prompt

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

Source from the content-addressed store, hash-verified

449}
450
451fn auto_prompt(agent: &AgentDefinition, prompt: &str) -> String {
452 format!(
453 "Parent request:\n{prompt}\n\nSpecialist role:\n{}\n\nReturn a compact result with summary, evidence, risks, and confidence. Do not ask follow-up questions.",
454 agent.description
455 )
456}
457
458#[cfg(test)]
459mod tests {

Callers 1

score_agent_for_promptFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected