Skip to content

feat(opencode): heuristic fallback for title generation - #38968

Closed
Retromadee wants to merge 1 commit into
anomalyco:devfrom
Retromadee:feat/title-heuristic-fallback
Closed

feat(opencode): heuristic fallback for title generation#38968
Retromadee wants to merge 1 commit into
anomalyco:devfrom
Retromadee:feat/title-heuristic-fallback

Conversation

@Retromadee

Copy link
Copy Markdown

Adds a heuristic fallback when the small model used for title generation fails. The fallback uses the first user message trimmed to 60 characters, or a generic placeholder. This improves robustness of session title creation.

@github-actions

Copy link
Copy Markdown
Contributor

This PR doesn't fully meet our contributing guidelines and PR template.

What needs to be fixed:

  • PR description is missing required template sections. Please use the PR template.

Please edit this PR description to address the above within 2 hours, or it will be automatically closed.

If you believe this was flagged incorrectly, please let a maintainer know.

@github-actions github-actions Bot added the needs:compliance This means the issue will auto-close after 2 hours. label Jul 26, 2026
@github-actions

Copy link
Copy Markdown
Contributor

The following comment was made by an LLM, it may be inaccurate:

I found 2 potentially related PRs that address similar title generation issues:

  1. fix(core): use catalog small model for session titles #36563 - fix(core): use catalog small model for session titles

    • Related to title generation using the small model
  2. fix(opencode): stop silent session title generation failures #35440 - fix(opencode): stop silent session title generation failures

    • Directly addresses handling title generation failures

These PRs may be exploring related or previous attempts to solve title generation issues. You may want to review them to ensure this new PR (38968) doesn't duplicate their work or should build upon them instead.

@github-actions

Copy link
Copy Markdown
Contributor

This pull request has been automatically closed because it was not updated to meet our contributing guidelines within the 2-hour window.

Feel free to open a new pull request that follows our guidelines.

@github-actions github-actions Bot removed the needs:compliance This means the issue will auto-close after 2 hours. label Jul 26, 2026
@github-actions github-actions Bot closed this Jul 26, 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.

1 participant