Skip to content

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

feat(i18n): add guardrail error message keys

Steven Enamakel2f6f0ad92495
diff --git a/app/src/lib/i18n/en.ts b/app/src/lib/i18n/en.ts
index c38dc3bbfc..cda47fd251 100644
--- a/app/src/lib/i18n/en.ts
+++ b/app/src/lib/i18n/en.ts
@@ -4113,6 +4113,11 @@ const en: TranslationMap = {
'conversations.subagent.cancel': 'Cancel task',
'conversations.subagent.cancelling': 'Cancelling…',
'conversations.subagent.cancelFailed': "Couldn't cancel the task. Try again.",
+ // Guardrail notice for a `chat_error{error_type:"guardrail"}` turn (wire-contract.md).
+ 'conversations.chatError.guardrail.title': "This request didn't pass a safety check",
+ 'conversations.chatError.guardrail.explanationFallback':
+ 'A policy blocked this response before it was sent.',
+ 'conversations.chatError.guardrail.tryInstead': 'try instead',
// Tool-failure explanation surfaced under a failed step in "View processing" (#4254).
'conversations.toolFailure.whyLabel': 'Why',
'conversations.toolFailure.nextLabel': 'What to do next',