Skip to content

fix(opencode): skip session title generation - #166

Closed
moon-jam wants to merge 1 commit into
Edwardxlai:mainfrom
moon-jam:fix/opencode-skip-session-title
Closed

moon-jam wants to merge 1 commit into
Edwardxlai:mainfrom
moon-jam:fix/opencode-skip-session-title

Conversation

@moon-jam

Copy link
Copy Markdown
Contributor

OpenCode generates a session title with its separate small_model for every new opencode run session. EasyRead does not use these titles, and the small_model may resolve to a different paid model than the one selected for translation.

Pass an explicit --title so OpenCode skips title generation entirely.

--title is supported by OpenCode 1.19.4 and 2.2.7. Other CLI engines either already use --no-session-persistence Claude Code, CodeBuddy, Qoder) or do not generate session titles.

Tested with:

.venv/bin/python -m unittest tests.test_issue_preview -v

OpenCode generates a session title with its small_model for every new
`opencode run` session. EasyRead does not use these titles, and the
small_model may resolve to a separate paid model instead of the one
selected for translation.

Pass an explicit --title so OpenCode skips title generation entirely.
@Edwardxlai

Copy link
Copy Markdown
Owner

Thanks for catching this. EasyRead doesn’t use OpenCode’s generated titles, so passing --title makes sense. I’ve checked that both translation and Ask AI pass an explicit title in the local preview. I’m planning to ship this in v1.5.

@Edwardxlai Edwardxlai closed this Nov 14, 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