Skip to content

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

fix(prompts): clarify time-relative wording guidance

Steven Enamakel940831db9176
diff --git a/crates/openhuman-core/src/agent/prompts/sections.rs b/crates/openhuman-core/src/agent/prompts/sections.rs
index 8face979e7..46f9ba7fe5 100644
--- a/crates/openhuman-core/src/agent/prompts/sections.rs
+++ b/crates/openhuman-core/src/agent/prompts/sections.rs
@@ -660,9 +660,9 @@ impl PromptSection for DateTimeSection {
// learned "good morning" regardless of the actual hour (#3602).
let mut out = String::from(
"## Current Date & Time\n\nThe `Current Date & Time:` line on the latest message \
- (local time, zone, weekday) is authoritative. Read it before any time-relative \
- wording such as a greeting or \"today\"; never assume it is morning, and never \
- call a tool just to know the time.",
+ (local time, zone, weekday) is authoritative. Before a greeting like \"good \
+ morning\" or a word like \"today\", read it and match the actual local hour; \
+ never assume it is morning, and never call a tool just to know the time.",
);
// Tool-argument discipline, gated on the agent actually having the
// `resolve_time` tool. LLMs are unreliable at epoch arithmetic — a