Skip to main content

assess_cache

Function assess_cache 

Source
pub fn assess_cache(prefix: usize, variable: usize, turns: usize) -> CacheReport
Expand description

Model prompt-cache savings for a prefix/variable token split over turns, using the default CACHE_WRITE_MULT/CACHE_READ_MULT multipliers.