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

Method builtin_agent_name

core/src/prompts.rs:222–230  ·  view source on GitHub ↗

Returns the canonical built-in delegated-agent name for this style.

(&self)

Source from the content-addressed store, hash-verified

220
221 /// Returns the canonical built-in delegated-agent name for this style.
222 pub fn builtin_agent_name(&self) -> &'static str {
223 match self {
224 AgentStyle::GeneralPurpose => "general",
225 AgentStyle::Plan => "plan",
226 AgentStyle::Verification => "verification",
227 AgentStyle::Explore => "explore",
228 AgentStyle::CodeReview => "review",
229 }
230 }
231
232 /// Returns the stable runtime mode label for UI/event consumers.
233 pub fn runtime_mode(&self) -> &'static str {

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected