ChenyuRabbitLove
commited on
Commit
•
9eefa43
1
Parent(s):
7cdd9fa
Update app.py
Browse files
app.py
CHANGED
@@ -92,8 +92,10 @@ def respond(
|
|
92 |
)
|
93 |
second_response = chat_completion_request(messages)
|
94 |
messages.append({"role": "assistant", "content": [{'type': 'text', 'text': second_response.choices[0].message.content}]})
|
|
|
95 |
return messages
|
96 |
messages.append({"role": "assistant", "content": [{'type': 'text', 'text': response.choices[0].message.content}]})
|
|
|
97 |
return messages
|
98 |
|
99 |
"""
|
|
|
92 |
)
|
93 |
second_response = chat_completion_request(messages)
|
94 |
messages.append({"role": "assistant", "content": [{'type': 'text', 'text': second_response.choices[0].message.content}]})
|
95 |
+
print(messages)
|
96 |
return messages
|
97 |
messages.append({"role": "assistant", "content": [{'type': 'text', 'text': response.choices[0].message.content}]})
|
98 |
+
print(messages)
|
99 |
return messages
|
100 |
|
101 |
"""
|