Skip to content

docs: update moderation rejection structure#3239

Merged
splindsay-92 merged 1 commit intomainfrom
chat/correct-moderation-response
Mar 3, 2026
Merged

docs: update moderation rejection structure#3239
splindsay-92 merged 1 commit intomainfrom
chat/correct-moderation-response

Conversation

@splindsay-92
Copy link
Contributor

@splindsay-92 splindsay-92 commented Mar 3, 2026

Description

Lambda and Webhook moderation rules now use rejectionDetail, a map of <string,string> key/value pairs. This replaces the only rejectionReason.

Structured data provided in the rejectionDetail field will be mapped to the ErrorInfo.detail field received by the publishing client (on rejection of the message).

Checklist

@coderabbitai
Copy link

coderabbitai bot commented Mar 3, 2026

Important

Review skipped

Auto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch chat/correct-moderation-response

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@splindsay-92 splindsay-92 changed the title docs: update error handling metadata and moderation rejection structure docs: update moderation rejection structure Mar 3, 2026
@splindsay-92 splindsay-92 marked this pull request as ready for review March 3, 2026 18:21
@splindsay-92 splindsay-92 merged commit 2009570 into main Mar 3, 2026
7 checks passed
@splindsay-92 splindsay-92 deleted the chat/correct-moderation-response branch March 3, 2026 19:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants