Skip to content

fix(session): preserve resolved model on compaction continue#390

Merged
adolago merged 1 commit intomainfrom
opencode-sync/issue-311-sessions
Feb 14, 2026
Merged

fix(session): preserve resolved model on compaction continue#390
adolago merged 1 commit intomainfrom
opencode-sync/issue-311-sessions

Conversation

@adolago
Copy link
Copy Markdown
Owner

@adolago adolago commented Feb 14, 2026

Summary

  • persist the resolved compaction model metadata on the synthetic continue user message
  • avoid carrying stale provider/model metadata from the parent message

Testing

  • bun test test/session/compaction.test.ts

Closes #311

@adolago adolago force-pushed the opencode-sync/issue-311-sessions branch from 7bdc75b to 48c8a57 Compare February 14, 2026 05:23
@adolago adolago force-pushed the opencode-sync/issue-311-sessions branch from 48c8a57 to cb4f173 Compare February 14, 2026 05:24
@adolago adolago merged commit f3f81e9 into main Feb 14, 2026
2 of 3 checks passed
@adolago adolago deleted the opencode-sync/issue-311-sessions branch February 14, 2026 06:21
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.

[Opencode Sync] Core CLI: Sessions

1 participant