This website works better with JavaScript.
Home
Explore
Help
Register
Sign In
OpenSource
/
dify
Watch
4
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
152
Wiki
Activity
Browse Source
fix: completion stop invalid (
#355
)
tags/0.3.3
John Wang
2 years ago
parent
3bbc4ad3db
commit
ab115b5f87
No account linked to committer's email address
1 changed files
with
1 additions
and
0 deletions
Split View
Show Diff Stats
1
0
api/core/callback_handler/llm_callback_handler.py
+ 1
- 0
api/core/callback_handler/llm_callback_handler.py
View File
@@ -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
Write
Preview
Loading…
Cancel
Save