#'max_tokens' must be between 1 and 1024, but got 4000.
1 messages Β· Page 1 of 1 (latest)
Yes, me too
Me too
set max tokens to 1024 or lower
For me that still doesnβt work I could have it less than this and this error still shows up
Ya no matter what i set for the max new token value the value is always 4000 as the error
it means the website you're using not from our API, which still sends 4000 to our API instead of what you set, it should be an issue from the website, try to clear cache, delete the API config and reconfig the API
Has anyone managed to fix their API?
create your own post with your error/issue screenshot
reset your preset.
it fixed it for me
also make sure to select gpt 4 here
secrets menu should look like this
I try to use deepseek model tho. Gpt 4 work for me, and i can use the deepseek model in janitor ai according to youtube tutorial but chub ai can't
it looks like there is an issue from that website, it still uses 4000 instead of the 350 you set, try to clear your browser cache, or create a new preset
the issue is not from our side, the max tokens allowed for deepseek from our side is 1024 so that website should use what you set which is 350 and its correct but looks like it still uses 4000