From 8f6a814ab07e22d098bbeb942932d573f046fd30 Mon Sep 17 00:00:00 2001 From: indifferentketchup Date: Mon, 8 Jun 2026 01:26:01 +0000 Subject: [PATCH] fix: add cache_tokens/reasoning_tokens to web WsFrame union --- apps/web/src/api/types.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/apps/web/src/api/types.ts b/apps/web/src/api/types.ts index ed01ff8..de702ee 100644 --- a/apps/web/src/api/types.ts +++ b/apps/web/src/api/types.ts @@ -532,6 +532,8 @@ export type WsFrame = tokens_used?: number | null; ctx_used?: number | null; ctx_max?: number | null; + cache_tokens?: number | null; + reasoning_tokens?: number | null; started_at?: string | null; finished_at?: string | null; // model-attribution: the model that produced this assistant message.