You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Codex becomes slow with frequent spinners and input lag when a thread history contains many large inline base64 PNG images #28916
What version of the Codex App are you using (From “About Codex” dialog)?
26.611.62324
What subscription do you have?
Pro
What platform is your computer?
Darwin 25.2.0 arm64 arm
What issue are you seeing?
Codex desktop becomes slow with frequent spinners and noticeable input lag when a thread history contains many large inline base64 PNG images (after asking the agnet to show diagrams inline). The thread had 121 inline pngs before it was fixed.
Root Cause
Large image payloads were stored directly inside session JSONL as data:image/png;base64,... strings. These payloads made the session file very large and expensive to load, parse, render, and search through during normal app usage.
Fix Applied
Older inline PNG payloads were extracted into local .png files under the thread’s assets folder. The JSONL now references those files by absolute local paths with clickable Markdown links.
Result
The affected thread JSONL was reduced substantially, while image access was preserved through local file links. Codex became normal again.
Activity
github-actions commentedon Jun 18, 2026
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
tiagoefreitas commentedon Jun 18, 2026
Related to #24676
#22603
shixinnt commentedon Aug 11, 2026
整理沉淀大量含图片的新闻、书籍,或者制作几种短剧分镜图都会变得很卡。
我在Codex和Obsidian都遇到过这个问题,估计CC和Pi也一样。刚开发了一个插件 https://github.com/shixinnt/codex-image-context-runtime
就不卡了。