Skip to main content

Module prompt_cache

Module prompt_cache 

Source

Structs§

CacheBoundary
A detected prompt cache boundary in a message sequence.
Message
A single message in a conversation, used for cache boundary detection.
PromptCacheDetector
Detects prompt cache boundaries for Anthropic and OpenAI API formats.