Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Filter out null chars from OpenAI response #5187

Conversation

michael-genson
Copy link
Collaborator

What this PR does / why we need it:

(REQUIRED)

Pre-process OpenAI responses to remove null chars.

Which issue(s) this PR fixes:

(REQUIRED)

Probably fixes #5144

Testing

(fill-in or delete this section)

I couldn't really reproduce the error in #5144 but I think the discussion there gave me enough to go on.

@Kuchenpirat Kuchenpirat merged commit 9a469fe into mealie-recipes:mealie-next Mar 7, 2025
14 checks passed
@michael-genson michael-genson deleted the fix/openai-filter-out-null-chars branch March 8, 2025 16:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[BUG] - Error when saving after OpenAI parsing
2 participants