From 5031d64e28cec579249a0c8efef6a642fdd011c3 Mon Sep 17 00:00:00 2001 From: Chenhe Gu Date: Wed, 21 Feb 2024 03:17:33 +0800 Subject: [PATCH] Chore/delete chunk decode error alert (#2500) --- .../model_providers/openai_api_compatible/llm/llm.py | 1 - 1 file changed, 1 deletion(-) diff --git a/api/core/model_runtime/model_providers/openai_api_compatible/llm/llm.py b/api/core/model_runtime/model_providers/openai_api_compatible/llm/llm.py index cf90633aa6..d294fcaa9c 100644 --- a/api/core/model_runtime/model_providers/openai_api_compatible/llm/llm.py +++ b/api/core/model_runtime/model_providers/openai_api_compatible/llm/llm.py @@ -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=""),