Skip to content

v0.7.121: Host-authorized Google cache resources

Choose a tag to compare

@SilenNaihin SilenNaihin released this 26 Sep 12:25
8778d39

Adds default-disabled native Gemini and Vertex explicit-cache execution for embedders with durable customer-funded resource authority.

  • Preserve exact marked five-minute text prefixes and their generation continuations.
  • Require an injected ExplicitCacheHost with tenant/account isolation, verified rates, durable atomic claims and result accounting. An explicit cache marker and configured allowance are both required; prompt_cache_key alone grants no spending authority.
  • Execute one bounded authenticated cache-create request, without retries or redirects, and record provider facts before using cachedContent.
  • Bind project-ID Vertex endpoints to independently host-verified canonical project numbers. Missing identity mapping creates no paid resource.
  • Keep cancellation responsive during host I/O, preserve immutable observations across ambiguous acknowledgements, and retain unknown reservations rather than recreating resources.
  • Enforce the exact absolute five-minute storage horizon and check freshness again before reuse.
  • Correct the gateway architecture reference to explain downward-only explicit reasoning-effort substitution and preservation of reasoning off.

Companion native release: exp-gateway-native 0.3.109.

This release supplies the engine interface only. It does not install hosted allowance settings, a durable cache store, pricing provenance, credential-generation binding or customer debit accounting. No customer is enabled by upgrading. Initial scope excludes media, tool-call histories, automatic/request-level markers, repaired/search requests and ZDR caching.

Verification is offline and loopback, including actual NativeControlPlane and PyO3 execution for both Gemini and Vertex. No real Google cache storage or savings is claimed.