소스 검색

Chore/delete chunk decode error alert (#2500)

Chenhe Gu 1 년 전
부모
커밋
5031d64e28
1개의 변경된 파일0개의 추가작업 그리고 1개의 파일을 삭제
  1. 0 1
      api/core/model_runtime/model_providers/openai_api_compatible/llm/llm.py

+ 0 - 1
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=""),