From f117f4d29774d0afb6ab8bfb4fcb5c7e5bb17482 Mon Sep 17 00:00:00 2001 From: aries_ckt <916701291@qq.com> Date: Thu, 21 Mar 2024 16:06:09 +0800 Subject: [PATCH] fix:api_v1 msg error --- dbgpt/app/openapi/api_v1/api_v1.py | 1 + 1 file changed, 1 insertion(+) diff --git a/dbgpt/app/openapi/api_v1/api_v1.py b/dbgpt/app/openapi/api_v1/api_v1.py index 87b69634e..300f5f8ae 100644 --- a/dbgpt/app/openapi/api_v1/api_v1.py +++ b/dbgpt/app/openapi/api_v1/api_v1.py @@ -439,6 +439,7 @@ async def stream_generator(chat, incremental: bool, model_name: str): _type_: streaming responses """ span = root_tracer.start_span("stream_generator") + msg = "[LLM_ERROR]: llm server has no output, maybe your prompt template is wrong." previous_response = "" async for chunk in chat.stream_call():