Skip to main content

resolve_prompt_dispatch

Function resolve_prompt_dispatch 

Source
pub fn resolve_prompt_dispatch(
    storage_root: &Path,
    prompt: &str,
) -> PromptDispatch
Expand description

Parse a prompt and resolve any @mention against the roster.

This is the single entry point for the chat layer: call this with the raw user prompt, then dispatch based on the result.