From 8d44d78db54cd5b5798f07783435b6bc355fdfb4 Mon Sep 17 00:00:00 2001 From: Blazzycrafter Date: Mon, 18 Nov 2024 17:27:31 +0100 Subject: [PATCH] corrected too many lines --- extensions/openai/script.py | 1 - 1 file changed, 1 deletion(-) diff --git a/extensions/openai/script.py b/extensions/openai/script.py index b90af6cd..eb11793c 100644 --- a/extensions/openai/script.py +++ b/extensions/openai/script.py @@ -130,7 +130,6 @@ async def openai_chat_completions(request: Request, request_data: ChatCompletion traceback.print_exc() return HTTPException(status_code=400, detail="Failed to load the model.") - path = request.url.path is_legacy = "/generate" in path