0votes
1 answerINVALID_ARGUMENT — How to resolve maximum context errors?
Input payload exceeds context window limits.

Find answers to your programming questions.
Input payload exceeds context window limits.
Input messages exceed model context limits.
Payload exceeds maximum permitted token count.
The API says the input plus requested output exceeds the model’s context window.
The API says the input plus requested output exceeds the model’s context window.