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(credential_scrub): handle missing credential fields gracefully
Steven Enamakela59e4342b2d6
diff --git a/crates/openhuman-core/src/agent/tinyagents/middleware/credential_scrub.rs b/crates/openhuman-core/src/agent/tinyagents/middleware/credential_scrub.rsindex a5eafe6a6c..18d026f6b0 100644--- a/crates/openhuman-core/src/agent/tinyagents/middleware/credential_scrub.rs+++ b/crates/openhuman-core/src/agent/tinyagents/middleware/credential_scrub.rs@@ -31,8 +31,8 @@ fn scrub_with_notice_for_tool(tool_name: &str, content: &str) -> Option<(String,return scrub_with_notice(content);}// Take the token out of the document instead of masking it with a dummy- // value: the scrubber redacts every labelled `token` value regardless of- // length, so any placeholder under that key is redacted and counted too.+ // value: the scrubber redacts secret-looking `token` values of any+ // length, so a UUID-shaped placeholder is redacted and counted too.if let Some(pending) = value["pending"].as_object_mut() {pending.remove("token");}