Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -51,6 +51,7 @@ def chat(message, history):
|
|
51 |
history_openai_format.append({"role": "user", "content": message})
|
52 |
|
53 |
print("### history")
|
|
|
54 |
print(history_openai_format)
|
55 |
|
56 |
message = client.beta.threads.messages.create(
|
|
|
51 |
history_openai_format.append({"role": "user", "content": message})
|
52 |
|
53 |
print("### history")
|
54 |
+
print(len(history_openai_format))
|
55 |
print(history_openai_format)
|
56 |
|
57 |
message = client.beta.threads.messages.create(
|