reworkd / AgentGPT

🤖 Assemble, configure, and deploy autonomous AI Agents in your browser.
https://agentgpt.reworkd.ai
GNU General Public License v3.0
31.95k stars 9.25k forks source link

reworkd_platform.web.api.errors.OpenAIError: -351 is less than the minimum of 1 - 'max_tokens' #878

Closed Daniel-Trung-Nguyen closed 1 year ago

Daniel-Trung-Nguyen commented 1 year ago

Please check that this issue hasn't been reported before.

Expected Behavior

I encoutered this issue when running the docker. Thanks, Daniel

image

Current behaviour

doesn't seem to produce any results

Steps to reproduce

run the containter and put in a task

Possible solution

I don't know

Which Operating Systems are you using?

Acknowledgements

asim-shrestha commented 1 year ago

Thanks @Daniel-Trung-Nguyen! Mr. awtkns will take a look

awtkns commented 1 year ago

HI @Daniel-Trung-Nguyen, I was able to reproduce the issue! In the short term this can be fixed by increasing the MAX_TOKENS on the settings page.