Skip to content

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

refactor(session_host): extract codec helpers into dedicated module

Steven Enamakelf039c5ac18fa
diff --git a/crates/openhuman-core/src/agent/session_host/codec.rs b/crates/openhuman-core/src/agent/session_host/codec.rs
index 56053238ef..8076a33e02 100644
--- a/crates/openhuman-core/src/agent/session_host/codec.rs
+++ b/crates/openhuman-core/src/agent/session_host/codec.rs
@@ -162,6 +162,8 @@ impl TranscriptCodec<OpenHumanRunContext> for OpenHumanTranscriptCodec {
cached_input: sidecar.cached_input_tokens,
context_window: sidecar.context_window,
cost_usd: sidecar.cost_usd,
+ last_call_input: sidecar.last_call_input_tokens,
+ last_call_output: sidecar.last_call_output_tokens,
},
ts: chrono::Utc::now().to_rfc3339(),
reasoning_content: None,