usage

usage 0.20.2

工具與目錄
在這頁

新功能 1 項

01

算錢與模型統計不再漏接 Codex 的資料

現在查看帳單或模型使用比例時,你不會再被 0 元或未知的 Codex 估算數字誤導了。新版的 Codex 有時候把用哪個模型這件事記在別的地方(turn context),如果系統在原本習慣的地方找不到,現在會懂得去新的地方挖出來,讓你的帳單跟統計圖表保持完整。就像結帳時如果收銀機找不到條碼,店員現在懂得自己去翻包裝盒底下的備用標籤一樣。

官方原文

**Codex model attribution now falls back to turn context**: newer Codex sessions can store the model in turn_context.payload.model, while state_5.sqlite may not have a matching thread row yet. The reader still prefers SQLite when available, but now uses the turn context as a fallback so cost estimates and model distribution no longer collapse to unknown or $0. (#38, by @ericweichun)

修正 1 項

02

動畫面板更新時不再閃爍

那些額度進度條有動畫的面板(例如 Prism Arcade、黑洞、水族箱等),現在更新數字時畫面不會再閃一下了。以前每次狀態更新,系統都會把整個動畫軌道打掉重做,導致動畫會重新播放而產生閃爍;現在它只會在原地更新數字,不會中斷正在跑的動畫。就像換球場上的記分板數字,以前是把整個板子拆下來重裝,現在只換數字卡片,比賽照常進行。

官方原文

**Animated quota rows no longer restart on every panel refresh**: panels with animated quota tracks, including Prism Arcade, Black Hole, and Aquarium, now mount each quota row once and update it in place instead of rebuilding the markup on every status update. This prevents the CSS animation flicker during normal refreshes. (#39, by @ericweichun)