Skip to content

The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.

refactor(web_chat): extract presentation helpers into a module

Steven Enamakel81ffecb596d0
diff --git a/crates/openhuman-core/src/web_chat/presentation.rs b/crates/openhuman-core/src/web_chat/presentation.rs
index e372603183..207c2cc277 100644
--- a/crates/openhuman-core/src/web_chat/presentation.rs
+++ b/crates/openhuman-core/src/web_chat/presentation.rs
@@ -32,6 +32,7 @@ fn usage_payload(usage: Option<&LastTurnUsage>) -> Option<TurnUsagePayload> {
cached_input_tokens: usage.cached_input_tokens,
cost_usd: usage.cost_usd,
context_window: usage.context_window,
+ context_tokens: usage.context_tokens,
subagents,
})
}