/compact Command Fails When Message Length Is at Maximum Limit
Resolved 💬 1 comment Opened Mar 6, 2025 by ggaabe Closed Mar 6, 2025
Bug Description
/compact command doesn't work if the maximum length has already been reached
⎿ Error: API Error: 400
{"type":"error","error":{"type":"invalid_request_error","message":"input length and
`max_tokens` exceed context limit: 187157 + 20000 > 204648, decrease input length or
`max_tokens` and try again"}}
Environment Info
- Platform: macos
- Terminal: vscode
- Version: 0.2.29
- Feedback ID: 90842412-4c63-4e08-851b-ee8800d99906
This issue has 1 comment on GitHub. Read the full discussion on GitHub ↗