@zuplo/runtime 6.72.17 → 6.73.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/out/esm/{chunk-S2CH4265.js → chunk-XLXPRKLV.js} +97 -97
- package/out/esm/chunk-XLXPRKLV.js.map +1 -0
- package/out/esm/index.js +1 -1
- package/out/esm/mcp-gateway/index.js +1 -1
- package/out/types/index.d.ts +8 -1
- package/package.json +1 -1
- package/out/esm/chunk-S2CH4265.js.map +0 -1
- /package/out/esm/{chunk-S2CH4265.js.LEGAL.txt → chunk-XLXPRKLV.js.LEGAL.txt} +0 -0
package/out/types/index.d.ts
CHANGED
|
@@ -615,6 +615,13 @@ export declare interface AIGatewaySemanticCacheOutboundPolicyOptions {}
|
|
|
615
615
|
* route's chain is what enables it. `namespace` defaults to the AI Gateway
|
|
616
616
|
* configuration id when omitted so caching stays scoped per tenant.
|
|
617
617
|
*
|
|
618
|
+
* Cache outcomes are reported on the response via the RFC 9211 `Cache-Status`
|
|
619
|
+
* header under the cache name `zp-aigw-sem-cache` (hit:
|
|
620
|
+
* `zp-aigw-sem-cache; hit; detail="similarity=0.93"`; miss:
|
|
621
|
+
* `zp-aigw-sem-cache; fwd=miss; stored`) alongside the legacy
|
|
622
|
+
* `x-ai-gateway-cache: HIT|MISS` and `x-ai-gateway-cache-similarity` headers,
|
|
623
|
+
* kept for compatibility.
|
|
624
|
+
*
|
|
618
625
|
* @title AI Gateway Semantic Cache (v2)
|
|
619
626
|
* @product ai-gateway
|
|
620
627
|
* @hidden
|
|
@@ -2673,7 +2680,7 @@ declare interface CacheOptions {
|
|
|
2673
2680
|
}
|
|
2674
2681
|
|
|
2675
2682
|
/**
|
|
2676
|
-
* How long a cached response lives, in seconds. Defaults to 3600 (1 hour).
|
|
2683
|
+
* How long a cached response lives, in whole seconds. Defaults to 3600 (1 hour); maximum 2592000 (30 days).
|
|
2677
2684
|
* @public
|
|
2678
2685
|
*/
|
|
2679
2686
|
declare type CacheTTLSeconds = number;
|