Skip to main content

append_operator_prompt

Function append_operator_prompt 

Source
pub fn append_operator_prompt(
    system_prompt: &mut String,
    config: &Config,
    is_internal: bool,
    model_name: &str,
)
Expand description

Append the full Operator prompt to system_prompt.

Used for CLI and Dashboard agent sessions where the orchestration instructions should be present from the first turn.

Uses provider detection on model_name to select the appropriate tool layer. Project names (CognitiveMemory, Construct) are substituted from config.kumiho.memory_project / config.kumiho.harness_project.

Call this right after append_kumiho_bootstrap in the agent run loop.