pub fn detect_cache_miss<'a>(
entries: impl IntoIterator<Item = &'a FileEntry>,
message: &AssistantMessage,
registry: &ModelRegistry,
) -> Option<CacheMiss>Expand description
pi’s detectCacheMiss: the miss a newly finished assistant message
paid for. entries may already hold the message, where the scan stops.