Commit
·
7904b82
1
Parent(s):
8abd12f
Update main.py
Browse files
main.py
CHANGED
|
@@ -73,7 +73,7 @@ async def generate_response(chat_chunks, llm):
|
|
| 73 |
]
|
| 74 |
}
|
| 75 |
yield f"data: {json.dumps(response)}\n\n"
|
| 76 |
-
yield "
|
| 77 |
|
| 78 |
@app.post("/v1/chat/completions")
|
| 79 |
async def chat(request: ChatCompletionRequest):
|
|
|
|
| 73 |
]
|
| 74 |
}
|
| 75 |
yield f"data: {json.dumps(response)}\n\n"
|
| 76 |
+
yield dict(data="[DONE]")
|
| 77 |
|
| 78 |
@app.post("/v1/chat/completions")
|
| 79 |
async def chat(request: ChatCompletionRequest):
|