()
| 236 | } |
| 237 | |
| 238 | pub fn general() -> Self { |
| 239 | Self { |
| 240 | name: "general".to_string(), |
| 241 | description: Some("Default general-purpose agent.".to_string()), |
| 242 | mode: AgentMode::Primary, |
| 243 | model: None, |
| 244 | model_preference: None, |
| 245 | system_prompt: Some( |
| 246 | "You are a helpful assistant. Complete the task given to you.".to_string(), |
| 247 | ), |
| 248 | temperature: Some(0.7), |
| 249 | top_p: None, |
| 250 | max_tokens: Some(8192), |
| 251 | max_steps: Some(20), |
| 252 | allowed_tools: Vec::new(), |
| 253 | options: HashMap::new(), |
| 254 | permission: build_agent_ruleset("general", &[]), |
| 255 | hidden: false, |
| 256 | native: true, |
| 257 | variant: None, |
| 258 | color: None, |
| 259 | } |
| 260 | } |
| 261 | |
| 262 | pub fn explore() -> Self { |
| 263 | Self { |
nothing calls this directly
no test coverage detected