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
I stumbled today over an issue, where too many token were being used when communicating with the OpenAI api.
2024/06/06 14:56:37 Error creating chat completion stream: error, status code: 429, message: Request too large for gpt-4o in organization org-... on tokens per min (TPM): Limit 30000, Requested 30182. The input or output tokens must be reduced in order to run successfully. Visit https://platform.openai.com/account/rate-limits to learn more., retry: 10
If the response body contains "Request too large", there should be no retries, instead it should stop immediatly.
Also present the user a hint on how to resolve the issue.
In my case I forgot to reset the history by using plandex new and readding the context and retelling the task.
This brings me to another point, it would be great If I could transfer the current context to another plan pdx new --keep-context
The text was updated successfully, but these errors were encountered:
appreciated
changed the title
OpenAI API Request too large for gpt-4o
OpenAI API "Request too large for gpt-4o"
Jun 6, 2024
Description
I stumbled today over an issue, where too many token were being used when communicating with the OpenAI api.
This might be a regression introduced by #123.
Expected behaviour
If the response body contains "Request too large", there should be no retries, instead it should stop immediatly.
Also present the user a hint on how to resolve the issue.
In my case I forgot to reset the history by using
plandex new
and readding the context and retelling the task.This brings me to another point, it would be great If I could transfer the current context to another plan
pdx new --keep-context
The text was updated successfully, but these errors were encountered: