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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: 馃悰 fix NPE if chunk is null for Mistral AI #510

Merged
merged 1 commit into from
Apr 25, 2024

Conversation

philippart-s
Copy link
Contributor

fix #489

@geoand as discuss, the PR to fix the NPE in case of no data in content field in Mistral response.

I didn't find tests in Mistral package but I tested on my project and it fixes the bug.

Let me know if I need to write a test somewhere 馃槈

@philippart-s philippart-s requested a review from a team as a code owner April 25, 2024 13:52
@geoand
Copy link
Collaborator

geoand commented Apr 25, 2024

Thanks!

Unfortunately SSE is really hard to test in unit tests, so for now let's not worry about it

@geoand geoand merged commit 924563e into quarkiverse:main Apr 25, 2024
12 checks passed
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.

bug: Mistral streaming mode raise a NPE if content JSON field is missing
2 participants