SIGN IN SIGN UP

server: Support none defaulting to infinity for completions (#111)

* Support defaulting to infinity or -1 for chat completions

* Check if completion_tokens is none in error handler.

* fix: max_tokens in create completion should match openai spec

* Fix __call__

---------

Co-authored-by: Andrei Betlen <abetlen@gmail.com>
S
swg committed
4b01a873efdef1c0f52dad87f11b9340ec8adc13
Parent: 12b7f2f
Committed by GitHub <noreply@github.com> on 12/22/2023, 7:05:13 PM