Skip to content

Better error handling for content filtering#134

Merged
jnu merged 1 commit intomainfrom
74
May 21, 2025
Merged

Better error handling for content filtering#134
jnu merged 1 commit intomainfrom
74

Conversation

@jnu
Copy link
Copy Markdown
Contributor

@jnu jnu commented May 21, 2025

Bumps bc2 version to pick up a change to throw an explicit error when we notice that a content filter has been applied by OpenAI. We will now abort the processing pipeline and return a FilteredContentError with instructions to adjust the content moderation settings when this occurs anywhere in the pipeline.

@jnu jnu merged commit c6134ad into main May 21, 2025
1 check failed
@jnu jnu deleted the 74 branch May 21, 2025 20:55
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