MCPcopy Index your code
hub / github.com/AI45Lab/Code / default_prompt

Method default_prompt

core/src/subagent.rs:212–220  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

210 }
211
212 fn default_prompt(self) -> Option<&'static str> {
213 match self {
214 Self::ReadOnly => Some(EXPLORE_PROMPT),
215 Self::Planner => Some(PLAN_PROMPT),
216 Self::Verifier => Some(VERIFICATION_PROMPT),
217 Self::Reviewer => Some(REVIEW_PROMPT),
218 Self::Implementer | Self::Custom => None,
219 }
220 }
221
222 fn default_max_steps(self) -> usize {
223 match self {

Callers 1

into_agent_definitionMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected