v0.8.3 Release Notes
Released
v0.8.2 -> v0.8.3
Summary
Unifies remaining usage reporting while preserving differences in billing models and quota periods.
翻譯
統一剩餘用量的回報方式,保留不同計費方式與配額期間的資訊。
Changes
UPDATE
- Change
Usageacross six providers to returnUsageRemaining, using optional pointer fields for different usage information. Codex returns separateFiveHourandWeekremaining percentages instead of their minimum; DeepSeek and OpenRouter returnBalance, while Copilot, Grok and Ollama Cloud returnTotal. Before upgrading, callers must replace theirfloat64handling with access to the corresponding fields and handlenilvalues. Error paths return an empty structure alongside the error. Released as a patch at the user's request. (@pardnchiu) [9ee1915]
翻譯
- 六個供應商的
Usage改回傳UsageRemaining,以可省略的指標欄位區分不同用量資訊。Codex 分別回傳FiveHour與Week剩餘百分比,取代原先只回傳兩者較低值;DeepSeek 與 OpenRouter 回傳Balance,Copilot、Grok 與 Ollama Cloud 回傳Total。升級前須將呼叫端原本使用float64的邏輯改為讀取對應欄位,並處理欄位為nil的情況;錯誤回傳改為空結構與錯誤。依指定版本以 patch 發布。
Scope
core/type.go— UPDATEcore/copilot/— UPDATEcore/deepseek/— UPDATEcore/grokOauth/— UPDATEcore/ollamaCloud/— UPDATEcore/openRouter/— UPDATEcore/openaiCodex/— UPDATE
Generated by SKILL