MCPcopy Create free account
hub / github.com/enowdev/enowX-Coder / get_prompt

Function get_prompt

src-tauri/src/agents/prompts/mod.rs:13–28  ·  view source on GitHub ↗
(agent_type: &str)

Source from the content-addressed store, hash-verified

11pub mod librarian;
12
13pub fn get_prompt(agent_type: &str) -> Option<&'static str> {
14 match agent_type {
15 "orchestrator" => Some(orchestrator::SYSTEM_PROMPT),
16 "planner" => Some(planner::SYSTEM_PROMPT),
17 "coder_fe" => Some(coder_fe::SYSTEM_PROMPT),
18 "coder_be" => Some(coder_be::SYSTEM_PROMPT),
19 "security" => Some(security::SYSTEM_PROMPT),
20 "ux_researcher" => Some(ux_researcher::SYSTEM_PROMPT),
21 "ui_designer" => Some(ui_designer::SYSTEM_PROMPT),
22 "tester" => Some(tester::SYSTEM_PROMPT),
23 "reviewer" => Some(reviewer::SYSTEM_PROMPT),
24 "researcher" => Some(researcher::SYSTEM_PROMPT),
25 "librarian" => Some(librarian::SYSTEM_PROMPT),
26 _ => None,
27 }
28}

Callers 2

execute_agentMethod · 0.85
execute_agent_leafMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected