Spaces:
Running
Running
empty
Browse files
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"],
|