Unverified Commit ab115b5f authored by John Wang's avatar John Wang Committed by GitHub

fix: completion stop invalid (#355)

parent 3bbc4ad3
......@@ -79,6 +79,7 @@ class LLMCallbackHandler(BaseCallbackHandler):
self.conversation_message_task.append_message_text(token)
except ConversationTaskStoppedException as ex:
self.on_llm_error(error=ex)
raise ex
self.llm_message.completion += token
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment