mirror of
https://github.com/csunny/DB-GPT.git
synced 2025-08-07 19:34:04 +00:00
fix:api_v1 msg error
This commit is contained in:
parent
ab9d8a370e
commit
f117f4d297
@ -439,6 +439,7 @@ async def stream_generator(chat, incremental: bool, model_name: str):
|
|||||||
_type_: streaming responses
|
_type_: streaming responses
|
||||||
"""
|
"""
|
||||||
span = root_tracer.start_span("stream_generator")
|
span = root_tracer.start_span("stream_generator")
|
||||||
|
msg = "[LLM_ERROR]: llm server has no output, maybe your prompt template is wrong."
|
||||||
|
|
||||||
previous_response = ""
|
previous_response = ""
|
||||||
async for chunk in chat.stream_call():
|
async for chunk in chat.stream_call():
|
||||||
|
Loading…
Reference in New Issue
Block a user