Skip to content

Commit

Permalink
fix:api_v1 msg error
Browse files Browse the repository at this point in the history
  • Loading branch information
Aries-ckt committed Mar 21, 2024
1 parent ab9d8a3 commit f117f4d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions dbgpt/app/openapi/api_v1/api_v1.py
Original file line number Diff line number Diff line change
Expand Up @@ -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():
Expand Down

0 comments on commit f117f4d

Please sign in to comment.