pub enum CacheType {
Ephemeral,
}Expand description
Type of cache control marker for prompt sections.
Used to indicate which sections of the system prompt are stable across turns and suitable for provider-side caching.
Variants§
Ephemeral
The section is stable and suitable for ephemeral caching. Content in this range should be cached by the provider and reused across turns when the section remains unchanged.
Trait Implementations§
impl StructuralPartialEq for CacheType
Auto Trait Implementations§
impl Freeze for CacheType
impl RefUnwindSafe for CacheType
impl Send for CacheType
impl Sync for CacheType
impl Unpin for CacheType
impl UnsafeUnpin for CacheType
impl UnwindSafe for CacheType
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more