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
docs(web-chat): clarify guardrail payload comment
Steven Enamakel173b4c7fb0a2
diff --git a/crates/openhuman-core/src/web_chat/ops/start_chat.rs b/crates/openhuman-core/src/web_chat/ops/start_chat.rsindex aee332bd66..a33050bda0 100644--- a/crates/openhuman-core/src/web_chat/ops/start_chat.rs+++ b/crates/openhuman-core/src/web_chat/ops/start_chat.rs@@ -30,7 +30,7 @@ use super::turn_guards::{/// `Guardrail` is a structured verdict from the prompt-injection/security/// guardrail (`security::prompt_injection::enforce_prompt_input`) — the/// frontend classifies on this variant (`chat_error.error_type == "guardrail"`-/// + a `guardrail` payload) instead of pattern-matching the user-facing+/// with a `guardrail` payload) instead of pattern-matching the user-facing/// message string. Every other rejection (validation, a configured/// `beforeSubmitPrompt` hook block, an approval-routing failure) stays/// `Other`, which `Display`s exactly like the plain `String` errors this