Module prompt_cache

Module prompt_cache 

Source

Structs§

AnthropicPromptCacheSettings
Anthropic Claude cache control settings
DeepSeekPromptCacheSettings
DeepSeek prompt caching configuration (automatic KV cache reuse)
GeminiPromptCacheSettings
Gemini API caching preferences
MoonshotPromptCacheSettings
Moonshot prompt caching configuration (leverages server-side reuse)
OpenAIPromptCacheSettings
OpenAI prompt caching controls (automatic with metrics)
OpenRouterPromptCacheSettings
OpenRouter passthrough caching controls
PromptCachingConfig
Global prompt caching configuration loaded from vtcode.toml
ProviderPromptCachingConfig
Per-provider configuration overrides
XAIPromptCacheSettings
xAI prompt caching configuration (automatic platform-level cache)
ZaiPromptCacheSettings
Z.AI prompt caching configuration (disabled until platform exposes metrics)

Enums§

GeminiPromptCacheMode
Gemini prompt caching mode selection