- [Upstream Heavy Prompt KV Cache Settling Race Mitigation & Adaptive Grace Delay]:
- Heavy Cold Cache Detection & Asynchronous Write Settling Window: Resolved the cache write race condition in autonomous agent loops where a massive cold request (
input_tokens >= 16,000) completes calculation and a subsequent tool-call request arrives milliseconds later before Google's distributed cluster finishes KV index persistence, causing premature cache misses. Introduced an adaptive "Cache Settling Grace Window" in the unified Pipeline egress stage: detects recent heavy uncached completions for the same session and smoothly absorbs back-to-back requests (default 1000ms), ensuring immediate 90%+ prompt cache reuse on subsequent turns. - Full Configuration Surface & 12-Locale Internationalization (Config Surface Parity): Added
cache_settling_delay_mstoStickySessionConfigwith full environment variable overrides (ANTIGRAVITY_CACHE_SETTLING_DELAY_MS/ABV_CACHE_SETTLING_DELAY_MS); exposed a numerical setting in the UI under "Session & Scheduling" (range 0–5000ms, 0 to disable), accompanied by native translations across 12 languages (EN, ZH, ZH-TW, JA, KO, ES, PT, RU, TR, VI, AR, MY).
- Heavy Cold Cache Detection & Asynchronous Write Settling Window: Resolved the cache write race condition in autonomous agent loops where a massive cold request (
- [上游长文本 KV 缓存就绪防竞争与平滑自适应延迟]:
- 巨型冷请求完成感知与异步落盘平滑窗口: 针对 Agent 连续高频调用或自动化工具链中,首轮巨型长文本(
input_tokens >= 16,000)冷请求刚完成计算、次轮请求在毫秒级瞬间到达上游导致 Google 分布式 KV Cache 尚未落盘即判定为 Cache Miss 的时序竞争问题,在 Pipeline 统一出站阶段引入「KV 缓存就绪防竞争延迟(Cache Settling Grace Window)」。自动感知同会话巨型冷启动完成时间,在时间差不足落盘窗口时自适应微调等待(默认 1000ms),使紧随其后的次轮请求稳定命中 90%+ 的前缀 KV 缓存。 - 全平台配置面与 12 国多语言支持 (Config Surface Parity): 在调度配置
StickySessionConfig中新增cache_settling_delay_ms字段,支持环境变量ANTIGRAVITY_CACHE_SETTLING_DELAY_MS/ABV_CACHE_SETTLING_DELAY_MS无缝覆盖;前端在「会话与调度配置」面板中增加微调输入框(范围 0–5000ms,设为 0 即关闭),并补齐中文、繁体、英文、日语、韩语、西语、葡语、俄语、土耳其语、越南语、阿拉伯语与缅甸语共 12 种语言国际化。
- 巨型冷请求完成感知与异步落盘平滑窗口: 针对 Agent 连续高频调用或自动化工具链中,首轮巨型长文本(
Full Changelog: v5.0.4-beta.16...v5.0.4-beta.17