Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -61,14 +61,14 @@ def chat(message, history):
|
|
61 |
#show_json("assistant", _assistant)
|
62 |
#show_json("thread", _thread)
|
63 |
|
64 |
-
|
65 |
-
|
66 |
-
|
67 |
|
68 |
message = _client.beta.threads.messages.create(
|
69 |
role="user",
|
70 |
thread_id=_thread.id,
|
71 |
-
content=
|
72 |
)
|
73 |
|
74 |
#show_json("message", message)
|
|
|
61 |
#show_json("assistant", _assistant)
|
62 |
#show_json("thread", _thread)
|
63 |
|
64 |
+
print("### history")
|
65 |
+
print(len(history_openai_format))
|
66 |
+
print(history_openai_format)
|
67 |
|
68 |
message = _client.beta.threads.messages.create(
|
69 |
role="user",
|
70 |
thread_id=_thread.id,
|
71 |
+
content=message,
|
72 |
)
|
73 |
|
74 |
#show_json("message", message)
|