Skip to content

Commit

Permalink
Chore/delete chunk decode error alert (langgenius#2500)
Browse files Browse the repository at this point in the history
  • Loading branch information
guchenhe authored Feb 20, 2024
1 parent ae3ad59 commit 5031d64
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -376,7 +376,6 @@ def create_final_llm_result_chunk(index: int, message: AssistantPromptMessage, f
chunk_json = json.loads(decoded_chunk)
# stream ended
except json.JSONDecodeError as e:
logger.error(f"decoded_chunk error: {e}, delimiter={delimiter}, decoded_chunk={decoded_chunk}")
yield create_final_llm_result_chunk(
index=chunk_index + 1,
message=AssistantPromptMessage(content=""),
Expand Down

0 comments on commit 5031d64

Please sign in to comment.