Skip to main content

supercode_runtime/
cache_plan.rs

1//! Prompt-cache policy for native model requests.
2
3/// Prompt-caching plan applied while building a provider request.
4#[derive(Debug, Clone, Copy, PartialEq, Eq, Default)]
5pub enum CachePlan {
6    /// Do not add explicit prompt-cache annotations.
7    #[default]
8    Off,
9    /// Add breakpoints to the system message and imported-session prefix.
10    ImportedPrefix,
11}