You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
The text was updated successfully, but these errors were encountered: