mirror of
https://github.com/langgenius/dify.git
synced 2024-11-16 11:42:29 +08:00
Chore/delete chunk decode error alert (#2500)
This commit is contained in:
parent
ae3ad59b16
commit
5031d64e28
|
@ -376,7 +376,6 @@ class OAIAPICompatLargeLanguageModel(_CommonOAI_API_Compat, LargeLanguageModel):
|
|||
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=""),
|
||||
|
|
Loading…
Reference in New Issue
Block a user