(agent: &AgentDefinition, prompt: &str)
| 449 | } |
| 450 | |
| 451 | fn 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)] |
| 459 | mod tests { |
no outgoing calls
no test coverage detected