bstraehle commited on
Commit
06cc452
1 Parent(s): 3017744

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -1
app.py CHANGED
@@ -52,11 +52,16 @@ def chat(message, history):
52
  message = client.beta.threads.messages.create(
53
  thread_id=thread.id,
54
  role="user",
55
- content=history_openai_format,
56
  )
57
 
58
  show_json(message)
59
 
 
 
 
 
 
60
  run = client.beta.threads.runs.create(
61
  thread_id=thread.id,
62
  assistant_id=assistant.id,
 
52
  message = client.beta.threads.messages.create(
53
  thread_id=thread.id,
54
  role="user",
55
+ content=message,
56
  )
57
 
58
  show_json(message)
59
 
60
+ print("###")
61
+ print(thread.id)
62
+ print("###")
63
+ print(assistant.id)
64
+
65
  run = client.beta.threads.runs.create(
66
  thread_id=thread.id,
67
  assistant_id=assistant.id,