API: Fix mistaken debug statement
Signed-off-by: kingbri <bdashore3@proton.me>
This commit is contained in:
parent
5e54911cc8
commit
7c92968558
1 changed files with 0 additions and 1 deletions
1
main.py
1
main.py
|
|
@ -231,7 +231,6 @@ async def generate_chat_completion(request: Request, data: ChatCompletionRequest
|
|||
const_id = f"chatcmpl-{uuid4().hex}"
|
||||
async def generator():
|
||||
try:
|
||||
raise ValueError("Error!")
|
||||
new_generation = model_container.generate_gen(prompt, **data.to_gen_params())
|
||||
for (part, _, _) in new_generation:
|
||||
if await request.is_disconnected():
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue