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