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

Method runtime_mode

core/src/prompts.rs:233–241  ·  view source on GitHub ↗

Returns the stable runtime mode label for UI/event consumers.

(&self)

Source from the content-addressed store, hash-verified

231
232 /// Returns the stable runtime mode label for UI/event consumers.
233 pub fn runtime_mode(&self) -> &'static str {
234 match self {
235 AgentStyle::GeneralPurpose => "general",
236 AgentStyle::Plan => "planning",
237 AgentStyle::Verification => "verification",
238 AgentStyle::Explore => "explore",
239 AgentStyle::CodeReview => "code_review",
240 }
241 }
242
243 /// Returns true if this style benefits from a planning phase.
244 ///

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected