Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@Nicell
Copy link

@Nicell Nicell commented Jan 21, 2026

Avoid reloading the same history image attachments on every turn.

  • Add per-session cache for history image refs (ok, failed w/ 24h cooldown)
  • Pass sessionId into image loader (best-effort persist injected blocks)

@steipete
Copy link
Contributor

Landed in main via:

  • cf4f1ed fix: persist history image injections (persist injected history images so we don't reload per turn)
  • 6996c0f test: cover history image injection (unit tests for injection + dedupe behavior)

Summary: kept the minimal fix (persist mutated session messages after image injection) and added focused tests; no disk cache.

@steipete steipete closed this Jan 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants