bstraehle commited on
Commit
4117a83
1 Parent(s): 9ea93d2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -61,14 +61,14 @@ def chat(message, history):
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=history_openai_format,
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)