Ilyasch2 commited on
Commit
e4cef48
·
1 Parent(s): dba925f
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -68,7 +68,7 @@ def stream_chat(
68
  for u, a in history:
69
  msgs += [{"role": "user", "content": u},
70
  {"role": "assistant", "content": a}]
71
- msgs.append({"role": "user", "content": message})
72
 
73
  stream = client.chat.completions.create(
74
  model=cfg["model_id"],
 
68
  for u, a in history:
69
  msgs += [{"role": "user", "content": u},
70
  {"role": "assistant", "content": a}]
71
+ msgs.append({"role": "user", "content": message})
72
 
73
  stream = client.chat.completions.create(
74
  model=cfg["model_id"],