Skip to content

fix(guardrails): classify native content rejections - #7

Merged
ruanklein merged 1 commit into
mainfrom
fix/guardrail-error-classification
Sep 20, 2026
Merged

ruanklein merged 1 commit into
mainfrom
fix/guardrail-error-classification

Conversation

@ruanklein

Copy link
Copy Markdown
Owner

Summary

  • classify native Foundation Models guardrail diagnostics as ErrGuardrailViolation
  • preserve CommandError details while redacting prompt arguments from error messages
  • add unit and native integration coverage for rejected content
  • document the new error classification

Validation

  • make check
  • make integration

@ruanklein
ruanklein merged commit bb45452 into main Sep 20, 2026
1 check passed
@ruanklein
ruanklein deleted the fix/guardrail-error-classification branch September 20, 2026 23:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant