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

Method guidelines

core/src/prompts.rs:198–206  ·  view source on GitHub ↗

Returns style-specific guidelines if any.

(&self)

Source from the content-addressed store, hash-verified

196
197 /// Returns style-specific guidelines if any.
198 pub fn guidelines(&self) -> Option<&'static str> {
199 match self {
200 AgentStyle::GeneralPurpose => None,
201 AgentStyle::Plan => None, // Already embedded in agents/plan.md
202 AgentStyle::Verification => None, // Already embedded in agents/verification.md
203 AgentStyle::Explore => None, // Already embedded in agents/explore.md
204 AgentStyle::CodeReview => None,
205 }
206 }
207
208 /// Returns a one-line description of this style.
209 pub fn description(&self) -> &'static str {

Callers 1

build_with_styleMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected