The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.
Rust agent-orchestrationai-agentsai-assistantdesktopllmlocal-firstmcppersonal-aiprivacyrustsecond-braintauri
refactor(chatRuntimeSlice): extract runtime state helpers
Steven Enamakelf331e4252350
diff --git a/app/src/store/chatRuntimeSlice.ts b/app/src/store/chatRuntimeSlice.tsindex ddd6d8b96d..394c910688 100644--- a/app/src/store/chatRuntimeSlice.ts+++ b/app/src/store/chatRuntimeSlice.ts@@ -2783,6 +2783,11 @@ const chatRuntimeSlice = createSlice({contextWindow: number;lastTurnInputTokens: number;lastTurnOutputTokens: number;+ /**+ * Context the last turn ended with (one request, not the turn's summed+ * spend). `0`/absent from an older core: fall back to the turn totals.+ */+ lastTurnContextTokens?: number;subAgents?: Array<{agentId: string;inputTokens: number;