Struct Anthropic Cache Plugin
Generated from cargo doc --no-deps -p nemo-relay-builtins -p nemo-relay-diagnostics -p nemo-relay-logging -p nemo-relay-plugin-host -p nemo-relay-codecs -p nemo-relay -p nemo-relay-runtime -p nemo-relay-model-pricing -p nemo-relay-resource-metrics -p nemo-relay-observability -p nemo-relay-adaptive -p nemo-relay-pii-redaction -p nemo-relay-ffi -p nemo-relay-types -p nemo-relay-plugin -p nemo-relay-worker-proto -p nemo-relay-worker.
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
Referenced types: AnthropicCachePlugin
new
Referenced types: CapabilityRegistry
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
Referenced types: ProviderPlugin, AnthropicCachePlugin
plugin_id
Referenced types: plugin_id, str
plugin_name
Referenced types: plugin_name, str
translate
Referenced types: translate, PluginInput, Result, PluginOutput
capabilities
Referenced types: capabilities, BackendCapabilities