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
Running pycodeagi.py, got a max token length exceeded error at the "APP CODE" step:
Traceback (most recent call last):
File "pycodeagi.py", line 165, in <module>
pycode_agi({"objective": objective})
openai.error.InvalidRequestError: This model's maximum context length is 4097 tokens, however you requested 4170 tokens (1170 in your prompt; 3000 for the completion). Please reduce your prompt; or completion length.
The text was updated successfully, but these errors were encountered:
The GPT3 version can only use 4097 tokens, and unfortunately, there is no way to optimize or increase the token usage. The GPT4 version has higher token limits and can give you better results.
Running
pycodeagi.py
, got a max token length exceeded error at the "APP CODE" step:openai.error.InvalidRequestError: This model's maximum context length is 4097 tokens, however you requested 4170 tokens (1170 in your prompt; 3000 for the completion). Please reduce your prompt; or completion length.
The text was updated successfully, but these errors were encountered: