mirror of
https://github.com/Xueheng-Li/SynologyChatbotGPT.git
synced 2025-07-23 05:19:15 +00:00
update
This commit is contained in:
@ -677,6 +677,7 @@ class ChatBot:
|
||||
# print(r.choices[0]["delta"])
|
||||
if "content" in r.choices[0]["delta"]:
|
||||
word = r.choices[0]["delta"]["content"]
|
||||
if word is not None:
|
||||
text.append(word)
|
||||
whole_text.append(word)
|
||||
|
||||
|
Reference in New Issue
Block a user