generated from JetBrains/intellij-platform-plugin-template
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(llm): handle null response in CustomSSEProcessor
- 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.
- Loading branch information
ippan
committed
Mar 29, 2024
1 parent
41f2c72
commit 5de1db3
Showing
1 changed file
with
10 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters