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

process wrong response format #122

Merged
merged 3 commits into from Mar 29, 2024
Merged

process wrong response format #122

merged 3 commits into from Mar 29, 2024

Conversation

iptton
Copy link
Collaborator

@iptton iptton commented Mar 29, 2024

  • Introduce 'lastParseFailedResponse' to store the failed response.
  • Log a detailed error message when a null response is encountered.
  • Add a check at the end of the stream to notify the user if no successful parse occurred.

ippan and others added 3 commits March 29, 2024 10:20
- Remove unnecessary 'hasSuccessRequest' toggle and related code.
- Introduce 'lastParseFailedResponse' to store the failed response.
- Log a detailed error message when a null response is encountered.
- Add a check at the end of the stream to notify the user if no successful parse occurred.
- Remove unnecessary 'hasSuccessRequest' toggle and related code.
- Introduce 'lastParseFailedResponse' to store the failed response.
- Log a detailed error message when a null response is encountered.
- Add a check at the end of the stream to notify the user if no successful parse occurred.
Copy link

codecov bot commented Mar 29, 2024

Codecov Report

Attention: Patch coverage is 0% with 13 lines in your changes are missing coverage. Please review.

Project coverage is 12.18%. Comparing base (d1e6a93) to head (55c7891).
Report is 1 commits behind head on master.

Files Patch % Lines
...c/unitmesh/devti/llms/custom/CustomSSEProcessor.kt 0.00% 13 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master     #122      +/-   ##
==========================================
- Coverage   12.19%   12.18%   -0.01%     
==========================================
  Files         473      473              
  Lines       11023    11027       +4     
  Branches     2111     2111              
==========================================
  Hits         1344     1344              
- Misses       9425     9429       +4     
  Partials      254      254              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@phodal phodal merged commit 331035e into unit-mesh:master Mar 29, 2024
3 of 5 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.

None yet

2 participants