Context Window Limit Exceeded: Reduce Input Length or Max Tokens
Resolved 💬 1 comment Opened Mar 9, 2025 by whichguy Closed Mar 10, 2025
Bug Description
i got stuck in the middle of a command with a message like the following and my code is half broken: Error: API Error: 400 {"type":"error","error":{"type":"invalid_request_error","message":"input length and max_tokens exceed context limit:
189136 + 20000 > 204648, decrease input length or max_tokens and try again"}}
Environment Info
- Platform: macos
- Terminal: Apple_Terminal
- Version: 0.2.29
- Feedback ID: 9ed3698b-adf8-433c-b81c-3b4f1ece4084
This issue has 1 comment on GitHub. Read the full discussion on GitHub ↗