opencode icon indicating copy to clipboard operation
opencode copied to clipboard

Session titles are not being set

Open aklajnert opened this issue 2 weeks ago • 2 comments

Description

Previously the opencode would change the name of the session based on the prompt, so it was easier to locate on the sessions list. Now, the session name stays on "New session - <timestamp>".

The behavior is the same on the TUI and OpenCode Desktop.

Plugins

No response

OpenCode version

1.0.223

Steps to reproduce

Create a new session, put any prompt. The session name should be related with the initial prompt.

Screenshot and/or share link

Image

Operating System

Ubuntu 22.04

Terminal

No response

aklajnert avatar Jan 04 '26 08:01 aklajnert

This issue is related to #6153 which discusses the session rename dialog UX. While #6153 focuses on improving the rename process itself, this issue describes the underlying regression where session titles are no longer being automatically generated from the initial prompt.

Both issues could benefit from coordinated fixes - restoring automatic session naming from prompts and improving the manual rename experience for when users want to customize titles further.

github-actions[bot] avatar Jan 04 '26 08:01 github-actions[bot]

I went through this situation and I found a pattern. When I use Cladue family models, session title is set, if I don't use Claude family models, GPT 5 nano model should be enabled from Zen provide (it is free)

jiyeol-lee avatar Jan 04 '26 11:01 jiyeol-lee

Oh, it seems it is dependent on the model. I see that Grok Code Fast does set it, but GPT-5-mini, Claude Sonnet 4.5, Claude Haiku 4.5. I have tested Grok from Copilot and Zen, and they both set the subject.

aklajnert avatar Jan 05 '26 08:01 aklajnert

I have just updated to 1.1.2, and noticed that the problem is gone, closing the issue.

aklajnert avatar Jan 05 '26 08:01 aklajnert