Skip to content

Commit

Permalink
Fix vLLM CPU /chat endpoint (#11748)
Browse files Browse the repository at this point in the history
  • Loading branch information
xiangyuT authored Aug 9, 2024
1 parent 27b4b10 commit 044e486
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,6 @@ async def create_chat_completion(request: ChatCompletionRequest,
return StreamingResponse(content=generator,
media_type="text/event-stream")
else:
invalidInputError(isinstance(generator, ChatCompletionResponse))
return JSONResponse(content=generator.model_dump())


Expand Down

0 comments on commit 044e486

Please sign in to comment.