Terminal Image Display / Large Output Breaks Context Compaction
Resolved 💬 4 comments Opened Feb 27, 2025 by mikemccabe Closed Mar 6, 2025
Bug Description
I thought I'd try 'imgcat' to show plots inline. They showed up as binhex-style text (which I expected) but the text blew out my context and left me unable to /compact, thus losing my earlier session context.
Environment Info
- Platform: macos
- Terminal: WezTerm
- Version: 0.2.19
- Feedback ID: a203551b-f2cc-435e-a9c4-3a4cead14be0
/compact
⎿ Error: API Error: 400 {"type":"error","error":{"type":"invalid_request_error","message":"input length and max_tokens exceed context limit: 190766 + 20000 > 204698, decrease input length or max_tokens and try again"}}
This issue has 4 comments on GitHub. Read the full discussion on GitHub ↗