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
fix(prompts): restore the profiling UTC shortcut with its feature\n\n`current_datetime_line`'s `#[cfg(feature = "rss-bench")]` branch went out with\nthe feature and did not come back when the feature did. `library-cpu.sh` sets\n`OPENHUMAN_PROFILE_FORCE_UTC=1` on every run it makes, so without this the flag\nis silently a no-op and the profile it produces walks\n`iana_time_zone`/CoreFoundation timezone resolution — which is the exact cost\nthe flag exists to hold out of a cold CPU profile.\n\nThird instance of one mistake: a `rss-bench` `#[cfg]` removed as dead while the\nfeature was going away, then left behind when the feature was restored. The\nother two were the `test_provider_override` arms in `factory*.rs`. This one is\nthe last — `git diff upstream/main...HEAD` now shows no removed `rss-bench`\nline that is not a comment or a manifest entry.\n\nIt is worth naming why this class is easy to miss: nothing fails to compile.\nThe `#[cfg]` is simply false in every configuration CI builds, so the code is\nabsent rather than broken, and only a developer running the profiler notices.\n
Shanu260f6fa227bf
diff --git a/src/openhuman/agent/prompts/render_helpers_part_01.rs b/src/openhuman/agent/prompts/render_helpers_part_01.rsindex 735e821641..7159e8eba8 100644--- a/src/openhuman/agent/prompts/render_helpers_part_01.rs+++ b/src/openhuman/agent/prompts/render_helpers_part_01.rs@@ -103,6 +103,20 @@ pub fn render_datetime(ctx: &PromptContext<'_>) -> Result<String> {/// session. The static grounding *rule* that tells the model to read this/// line lives in [`DateTimeSection`] / [`render_datetime`].pub fn current_datetime_line() -> String {+ // `library-cpu.sh` sets `OPENHUMAN_PROFILE_FORCE_UTC=1` to skip+ // `iana_time_zone`/CoreFoundation timezone resolution, which is itself a+ // measurable cost in a cold CPU profile. Gated on `rss-bench`, so it does+ // not exist in any shipped build.+ #[cfg(feature = "rss-bench")]+ if std::env::var_os("OPENHUMAN_PROFILE_FORCE_UTC").is_some() {+ let now = chrono::Utc::now();+ return format!(+ "Current Date & Time: {} UTC (UTC, UTC+00:00), {}",+ now.format("%Y-%m-%d %H:%M:%S"),+ now.format("%A"),+ );+ }+// When the host resolves an IANA zone, stamp local time + that zone. When// it can't (CI, stripped containers), fall back to true UTC — formatting// `Utc::now()` so the time, offset, and zone label all agree rather than