[BUG] Too many images (>100) in the context nukes the whole session and renders is unusable

Resolved 💬 3 comments Opened Jul 12, 2025 by MarcinOrlowski Closed Dec 10, 2025

I gave CC folder with like 200 images and tasked it to rename the files to match image contents. This was working to some degree but once I hit 100 processed image mark I started facing:

● Read(1651613676XgFkZIxUupEkVDN1McHkeT.jpg)
⎿  Read image (283.8KB)
⎿  API Error: 400 {"type":"error","error":{"type":"invalid_request_error","message":"Too much media: 0 document pages + 103 images > 100"}}

Unfortunately this seems to be dead end as at this point CC become useless as API would reject any further requests for the same reason. Also /compact will be of no use:

> /compact
⎿  Error: Error during compaction: Error: API Error: 400 {"type":"error","error":{
  "type": "error",
  "error": {
    "type": "invalid_request_error",
    "message": "Too much media: 0 document pages + 103 images > 100"
  }
}

and this this point all you can do is quit and start clear session

View original on GitHub ↗

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