Skip to content

Improve incremental session save reliability#62

Merged
yiwang merged 1 commit into
localgpt-app:mainfrom
jcorbin:incr_saves
Feb 21, 2026
Merged

Improve incremental session save reliability#62
yiwang merged 1 commit into
localgpt-app:mainfrom
jcorbin:incr_saves

Conversation

@jcorbin
Copy link
Copy Markdown
Contributor

@jcorbin jcorbin commented Feb 21, 2026

  • loop instead of recursion so that there are no incidental limits on tool call depth
  • save session after every message append or compaction rewrite; between each tool call invocation itself, not just at the end of a batch of tool calls

- loop instead of recursion so that there are no incidental limits on
  tool call depth
- save session after *every* message append or compaction rewrite;
  between each tool call invocation itself, not just at the end of a
  batch of tool calls
@yiwang yiwang merged commit 8dcbe07 into localgpt-app:main Feb 21, 2026
2 of 6 checks passed
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