Module openai_plugin
Module openai_plugin
Module openai_plugin
Generated from cargo doc --no-deps -p nemo-relay -p nemo-relay-adaptive -p nemo-relay-ffi.
OpenAI cache plugin for the Adaptive Cache Governor (ACG) system.
Maximizes automatic prefix cache hits through deterministic JSON serialization. OpenAI uses automatic prefix caching at 1024+ tokens with exact prefix matching - no explicit annotations are needed. The plugin’s job is to ensure that semantically identical prefixes produce byte-identical JSON so the cache hits rather than misses.
Implements the ProviderPlugin trait with:
canonicalize_value] for deterministic key ordering in function parameter schemas.