Update gpt4all-api/gpt4all_api/app/api_v1/routes/chat.py

Co-authored-by: Jared Van Bortel <cebtenzzre@gmail.com>
Signed-off-by: johannesploetner <52075191+johannesploetner@users.noreply.github.com>
pull/2106/head
johannesploetner 4 months ago committed by AT
parent 026ee4e46b
commit c951a5b1d3

@ -50,7 +50,7 @@ async def chat_completion(request: ChatCompletionRequest):
# GPU is not implemented yet
if settings.inference_mode == "gpu":
raise HTTPException(status_code=400,
detail=f"Not implemented yet: Can only infere in CPU mode.")
detail=f"Not implemented yet: Can only infer in CPU mode.")
# we only support the configured model
if request.model != settings.model:

Loading…
Cancel
Save