TTsamurai
commited on
Commit
•
0c66821
1
Parent(s):
3917612
change debug
Browse files
components/chat_conversation.py
CHANGED
@@ -18,7 +18,7 @@ import together
|
|
18 |
|
19 |
def generate_response_debugging(history):
|
20 |
# outputs_text = "This is a test response"
|
21 |
-
outputs_text =
|
22 |
history = history + [{"role": "assistant", "content": outputs_text}]
|
23 |
return outputs_text, history
|
24 |
|
|
|
18 |
|
19 |
def generate_response_debugging(history):
|
20 |
# outputs_text = "This is a test response"
|
21 |
+
outputs_text = " ".join([item["content"] for item in history])
|
22 |
history = history + [{"role": "assistant", "content": outputs_text}]
|
23 |
return outputs_text, history
|
24 |
|