Skip to main content

prepare_active_semantic_request

Function prepare_active_semantic_request 

Source
pub fn prepare_active_semantic_request(
    storage: &Path,
    prompt: &str,
    principal_did: &str,
    graph_context: &str,
    max_tokens: u32,
) -> Result<Option<PreparedSemanticRequest>, String>
Expand description

Compile the persisted active profile for this turn. Ok(None) when no profile is active — routes keep their legacy shape.