Struct Anthropic Cache Plugin
Generated from cargo doc --no-deps -p nemo-relay -p nemo-relay-adaptive -p nemo-relay-ffi.
Anthropic-specific provider plugin for cache_control breakpoint injection.
Translates CacheStability and Retention intents into Anthropic’s explicit cache_control annotations. Other intent types are marked Ignored / NotRelevant.
Construction
Implementations
impl AnthropicCachePlugin
impl AnthropicCachePlugin
new
pub fn new(registry: &CapabilityRegistry) -> Self
Create a new Anthropic cache plugin backed by the given capability registry.
The registry is cloned into an Arc for shared ownership.
Trait Implementations
impl ProviderPlugin for AnthropicCachePlugin
impl ProviderPlugin for AnthropicCachePlugin
plugin_id
fn plugin_id(&self) -> &str
plugin_name
fn plugin_name(&self) -> &str
translate
fn translate(&self, input: &PluginInput<'_>) -> Result<PluginOutput>
capabilities
fn capabilities(&self) -> BackendCapabilities