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():