Skip to content

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

fix(agent): the notice says "tool output", not "raw output"\n\nTokenJuice runs between the point the Unavailable outcome is recorded and\nthe point the notice is prefixed — pending_notice is set at middleware.rs:761\nand :773, compact_output_with_policy runs at :782, and the notice is applied\nat :902. TokenJuice rewrites content (it tabulates uniform object arrays into\na [json table: ...] marker), so by the time the model reads the notice the\npayload beneath it is not necessarily raw.\n\nSay "tool output" instead, which is true whatever the later stages did.\n\nThe two operator-facing log lines that still say "disclosing raw output"\n(:759, :771) are correct as they stand: they fire before TokenJuice, where\nthe content genuinely is raw.\n

M3gA-Mind97f275ba44d9
diff --git a/src/openhuman/agent/tinyagents/payload_summarizer.rs b/src/openhuman/agent/tinyagents/payload_summarizer.rs
index 2f1debf57b..10e1e58e18 100644
--- a/src/openhuman/agent/tinyagents/payload_summarizer.rs
+++ b/src/openhuman/agent/tinyagents/payload_summarizer.rs
@@ -133,17 +133,17 @@ impl UnavailableReason {
match self {
Self::PayloadTooLarge => concat!(
"[openhuman: summarization unavailable — this output exceeds the summarizer's ",
- "size cap, so the raw output follows and may be truncated. ",
+ "size cap, so the tool output follows and may be truncated. ",
"Do not re-run the tool for a summary.]"
),
Self::Disabled => concat!(
"[openhuman: summarization unavailable — it is switched off for this session ",
- "after repeated failures, so the raw output follows. ",
+ "after repeated failures, so the tool output follows. ",
"Do not re-run the tool for a summary.]"
),
Self::Failed => concat!(
"[openhuman: summarization unavailable — the summarizer did not return a usable ",
- "summary for this result, so the raw output follows. ",
+ "summary for this result, so the tool output follows. ",
"Do not re-run the tool for a summary.]"
),
}