Skip to main content

detect_volatile_content

Function detect_volatile_content 

Source
pub fn detect_volatile_content(text: &str) -> VolatileReport
Expand description

Detect values that are likely to change between requests and invalidate a provider’s KV-cache prefix. This is deliberately regex-free: the scan works on ASCII syntax inside UTF-8 text and has no hidden regex-engine state.

The result is diagnostic only; this function never rewrites, redacts, or otherwise changes text.