Spaces:
Sleeping
Sleeping
IliaLarchenko
commited on
Commit
•
278d569
1
Parent(s):
f832a8c
Added notes to interviewer response
Browse files- api/llm.py +1 -1
api/llm.py
CHANGED
@@ -154,7 +154,7 @@ class LLMManager:
|
|
154 |
|
155 |
reply = self.get_text_stream(chat_history)
|
156 |
for message in reply:
|
157 |
-
chat_display[-1][1] = message
|
158 |
chat_history[-1]["content"] = message
|
159 |
|
160 |
yield chat_history, chat_display, code
|
|
|
154 |
|
155 |
reply = self.get_text_stream(chat_history)
|
156 |
for message in reply:
|
157 |
+
chat_display[-1][1] = message.split("#NOTES#")[0].strip()
|
158 |
chat_history[-1]["content"] = message
|
159 |
|
160 |
yield chat_history, chat_display, code
|