| 313 | } |
| 314 | |
| 315 | pub fn summary() -> Self { |
| 316 | Self { |
| 317 | name: "summary".to_string(), |
| 318 | description: Some("Generates conversation summaries.".to_string()), |
| 319 | mode: AgentMode::Subagent, |
| 320 | model: None, |
| 321 | model_preference: None, |
| 322 | system_prompt: Some("You are a summary generator. Create a concise summary of the conversation. Focus on key decisions and outcomes.".to_string()), |
| 323 | temperature: Some(0.3), |
| 324 | top_p: None, |
| 325 | max_tokens: Some(1024), |
| 326 | max_steps: Some(1), |
| 327 | allowed_tools: Vec::new(), |
| 328 | options: HashMap::new(), |
| 329 | permission: vec![PermissionRule { |
| 330 | permission: "*".to_string(), |
| 331 | pattern: "*".to_string(), |
| 332 | action: PermissionAction::Deny, |
| 333 | }], |
| 334 | hidden: true, |
| 335 | native: true, |
| 336 | variant: None, |
| 337 | color: None, |
| 338 | } |
| 339 | } |
| 340 | |
| 341 | pub fn compaction() -> Self { |
| 342 | Self { |