MCPcopy Create free account
hub / github.com/AI45Lab/Code / base_prompt

Method base_prompt

core/src/prompts.rs:187–195  ·  view source on GitHub ↗

Returns the base system prompt for this style.

(&self)

Source from the content-addressed store, hash-verified

185impl AgentStyle {
186 /// Returns the base system prompt for this style.
187 pub fn base_prompt(&self) -> &'static str {
188 match self {
189 AgentStyle::GeneralPurpose => SYSTEM_DEFAULT,
190 AgentStyle::Plan => AGENT_PLAN,
191 AgentStyle::Verification => AGENT_VERIFICATION,
192 AgentStyle::Explore => AGENT_EXPLORE,
193 AgentStyle::CodeReview => AGENT_CODE_REVIEW,
194 }
195 }
196
197 /// Returns style-specific guidelines if any.
198 pub fn guidelines(&self) -> Option<&'static str> {

Callers 1

build_with_styleMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected