Skip to content

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

docs: clarify guardrail error variant

Steven Enamakela606f568d16e
diff --git a/crates/openhuman-core/src/web_chat/ops/start_chat.rs b/crates/openhuman-core/src/web_chat/ops/start_chat.rs
index aee332bd66..2bac41f312 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
+/// and 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