()
| 260 | } |
| 261 | |
| 262 | pub fn explore() -> Self { |
| 263 | Self { |
| 264 | name: "explore".to_string(), |
| 265 | description: Some("Exploration subagent for searching and reading code.".to_string()), |
| 266 | mode: AgentMode::Subagent, |
| 267 | model: None, |
| 268 | model_preference: None, |
| 269 | system_prompt: Some("You are an exploration assistant. Search and read code to answer questions. Focus on read-only operations.".to_string()), |
| 270 | temperature: Some(0.5), |
| 271 | top_p: None, |
| 272 | max_tokens: Some(8192), |
| 273 | max_steps: Some(30), |
| 274 | allowed_tools: vec![ |
| 275 | "grep".to_string(), |
| 276 | "glob".to_string(), |
| 277 | "read".to_string(), |
| 278 | "bash".to_string(), |
| 279 | ], |
| 280 | options: HashMap::new(), |
| 281 | permission: build_agent_ruleset("explore", &[]), |
| 282 | hidden: false, |
| 283 | native: true, |
| 284 | variant: None, |
| 285 | color: None, |
| 286 | } |
| 287 | } |
| 288 | |
| 289 | pub fn title() -> Self { |
| 290 | Self { |
nothing calls this directly
no test coverage detected