Skip to main content

agent_cache_key

Function agent_cache_key 

Source
pub fn agent_cache_key(
    backend_id: &str,
    model: Option<&str>,
    prompt: &str,
    phase: PhaseId,
) -> String
Expand description

Deterministic cache key: blake3(backend ++ model ++ normalized_prompt ++ phase). \0 separators prevent field-concatenation collisions.