[BUG] I cannot /compact and cannot continue current chat, how to keep context and start a new caht?

Resolved 💬 4 comments Opened Jul 20, 2025 by jiangying000 Closed Aug 19, 2025
continue

⎿  Context low · Run /compact to compact & continue

/compact

⎿ Error: Error during compaction: Error: API Error: 400 {"type":"error","error":{"type":"invalid_request_error","message":"input length and max_tokens exceed
context limit: 198227 + 20000 > 200000, decrease input length or max_tokens and try again"}}

/compact

⎿ Error: Error during compaction: Error: API Error: 400 {"type":"error","error":{"type":"invalid_request_error","message":"input length and max_tokens exceed
context limit: 198382 + 20000 > 200000, decrease input length or max_tokens and try again"}}

View original on GitHub ↗

This issue has 4 comments on GitHub. Read the full discussion on GitHub ↗