Skip to content

fix: prevent title regeneration on auto compact#1628

Merged
adamdotdevin merged 2 commits into
anomalyco:devfrom
timoclsn:fix-title-regeneration
Aug 5, 2025
Merged

fix: prevent title regeneration on auto compact#1628
adamdotdevin merged 2 commits into
anomalyco:devfrom
timoclsn:fix-title-regeneration

Conversation

@timoclsn

@timoclsn timoclsn commented Aug 5, 2025

Copy link
Copy Markdown
Contributor

The previous title generation check only checked if the message count is 1. This could cause the title generation to be re-triggered on auto compact, as there could again be a state where only one message is present.

This PR fixed this by only triggering the title generation if the title format is the default title.

@adamdotdevin
adamdotdevin merged commit 49aa48c into anomalyco:dev Aug 5, 2025
1 check passed
@timoclsn
timoclsn deleted the fix-title-regeneration branch August 6, 2025 04:53
xywsxp pushed a commit to xywsxp/opencode that referenced this pull request Apr 24, 2026
Rwanbt pushed a commit to Rwanbt/opencode that referenced this pull request May 5, 2026
bussard76 pushed a commit to bussard76/openwork that referenced this pull request May 12, 2026
Co-authored-by: src-opn <src-opn@users.noreply.github.com>
AIALRA-0 pushed a commit to AIALRA-0/opencode-turn-engine that referenced this pull request Jun 10, 2026
avion23 pushed a commit to avion23/opencode that referenced this pull request Jun 10, 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