mirror of
https://github.com/theroyallab/tabbyAPI.git
synced 2026-03-14 15:57:27 +00:00
API: Fix mistaken debug statement
Signed-off-by: kingbri <bdashore3@proton.me>
This commit is contained in:
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():
|
||||
|
||||
Reference in New Issue
Block a user