corrected too many lines

This commit is contained in:
Blazzycrafter 2024-11-18 17:27:31 +01:00
parent 6f0f214408
commit 8d44d78db5
No known key found for this signature in database
GPG Key ID: B898F1F9BDCDD1D3

View File

@ -130,7 +130,6 @@ async def openai_chat_completions(request: Request, request_data: ChatCompletion
traceback.print_exc() traceback.print_exc()
return HTTPException(status_code=400, detail="Failed to load the model.") return HTTPException(status_code=400, detail="Failed to load the model.")
path = request.url.path path = request.url.path
is_legacy = "/generate" in path is_legacy = "/generate" in path