v0.10.5

v0.10.2 Release Notes

Released


v0.10.1 -> v0.10.2

Summary


Hardens the Gemini provider against long-running streams being cut off while the model is still thinking. Context caching is now skipped for models that cannot cache, instead of failing on every request.
翻譯
強化 Gemini provider,避免模型仍在思考時長時間串流被提前切斷。不支援快取的模型改為直接略過 context caching,不再每次請求都建立失敗。

Changes


FIX


  • Fix Gemini streams being aborted by the idle watchdog during long silent reasoning: the stream now uses a 10-minute idle window via the new llmrouter.SetIdleWindow, and the HTTP client enables HTTP/2 health pings so a dead connection is still detected within the default watchdog budget (@pardnchiu) [63f4e93]
  • Fix Gemini attempting cachedContents creation on models without createCachedContent support: the agent probes the model's supportedGenerationMethods once, remembers the result, and skips caching when unsupported; probe failures fall back to the previous behavior (@pardnchiu) [63f4e93]

翻譯
  • 修正 Gemini 長時間靜默推理時串流被 idle watchdog 中斷:串流改以新的 llmrouter.SetIdleWindow 設定 10 分鐘閒置窗口,HTTP client 啟用 HTTP/2 health ping,確保斷線仍能在原 watchdog 時限內被偵測
  • 修正 Gemini 對不支援 createCachedContent 的模型仍嘗試建立 cachedContents:agent 首次查詢模型的 supportedGenerationMethods 並記住結果,不支援時略過快取;查詢失敗時維持原行為


Scope


  • core/gemini/ — FIX (cache.go, new.go, stream.go)
  • core/idle.go — FIX



Generated by SKILL