Skip to content

Session titles stopped auto-generating (stuck on 'New session - timestamp') #7262

Closed

Description

@brendandebeasi

opencode-config.json

Description

Session titles stopped being auto-generated around Jan 5-6. All new sessions remain stuck on "New session - [timestamp]" instead of getting descriptive titles.

Older sessions (before Jan 5) have proper auto-generated titles like "Optimizing shell directory autocomplete" and "Debugging KeyError: 'multi' in fetch_roms", but every session since then just shows the default timestamp.

Title generation appears to silently fail. Looking at the code, summary.ts (~line 84) may be missing null checks that exist in prompt.ts (~line 1579):

// summary.ts - no safety check
const agent = await Agent.get("title")
const stream = await LLM.stream({
  agent,
  model: agent.model ? ...  // crashes if agent is undefined
})

// prompt.ts - has safety check  
const agent = await Agent.get("title")
if (!agent) return

Plugins

oh-my-opencode

OpenCode version

1.1.6

Steps to reproduce

  1. Start OpenCode TUI
  2. Create a new session
  3. Send a message
  4. Session title remains "New session - [timestamp]"

Screenshot and/or share link

Image

Operating System

macOS

Terminal

Ghostty

Activity

  1. github-actions commented on Jan 7, 2026

    @github-actions
    Contributor

    This issue might be a duplicate of existing issues. Please check:

    Both of these issues report the same behavior where session titles fail to auto-generate and remain stuck on the default 'New session - timestamp' format.

    Feel free to ignore if none of these address your specific case.

  2. rekram1-node commented on Jan 7, 2026

    @rekram1-node
    Contributor

    What provider are u using?

  3. brendandebeasi commented on Jan 7, 2026

    @brendandebeasi
    Author

    @rekram1-node Attached full opencode config json to ticket. Models are:

    "model": "anthropic/claude-opus-4-5-20251101",
    "small_model": "google/gemini-3-flash",
    
  4. rekram1-node commented on Jan 7, 2026

    @rekram1-node
    Contributor

    bug w/ google models ill fix shortly

  5. rekram1-node commented on Jan 7, 2026

    @rekram1-node
    Contributor

    fixed in next release:
    2e4fe97

  6. added 2 commits that reference this issue on Jan 14, 2026
    6428352
    d6bf3b6
  7. Jokcy commented on Jan 19, 2026

    @Jokcy

    Still getting this issue when using z.ai coding plan with glm-4.7

  8. BarnoTD commented on Jul 7, 2026

    @BarnoTD

    issue resurfaced. please fix it

  9. jerameel commented on Sep 8, 2026

    @jerameel

    happening on v1.18.17
    tried with 5.6 luna/high model

  10. RMA-MUN commented on Sep 9, 2026

    @RMA-MUN

    happening on v1.18.29,tui,windows11,and the model is muse spark 1.3 contributor, provider is OpenCode Go

  11. BarnoTD commented on Sep 9, 2026

    @BarnoTD

    still on opencode 1.18.30 on macOS. @rekram1-node I don't mean to underestimate bug fixes of opencode. but what is blocking opencode's team from fixing a "suggest-and-update session title" feature because there fix now is to manually add this everytime to opencode.json config file

    {
        "small_model": "<provider_name/model_name>"
    }

    so a instead of the end user adding it every time on a new project just default to opencode's suggested small model.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions