While I was playing with the API endpoint /completion I found out a bug with the "max_tokens" body field when it's set to 1. Instead of returning 1 token response or a validation error, it returns 500 (internal server error).
If 1 token response is not allowed I believe it should return 400 bad request with the accepted boundaries for the max_token value.
While I was playing with the API endpoint /completion I found out a bug with the "max_tokens" body field when it's set to 1. Instead of returning 1 token response or a validation error, it returns 500 (internal server error).
If 1 token response is not allowed I believe it should return 400 bad request with the accepted boundaries for the max_token value.
Here is an example of request using curl: