You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
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.
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)
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.
Got this issue with Opencode Web and using GLM 5, but discovered that renaming uses GPT 5-nano (free with Zen), but when providing own OpenAI API Key in Zen settings and insufficient funds, this is what I see in logs, when running "opencode run --print-logs hi":
ERROR 2026-02-13T10:18:48 +1143ms service=llm providerID=opencode modelID=gpt-5-nano sessionID=ses_3a97d6100ffe6k1msy10u0To3H small=true agent=title mode=primary error={"error":{"type":"error","sequence_number":2,"error":{"type":"insufficient_quota","code":"insufficient_quota","message":"You exceeded your current quota, please check your plan and billing details. For more information on this error, read the docs: https://platform.openai.com/docs/guides/error-codes/api-errors.","param":null}}} stream error
Removing the OpenAI key or adding funds fixes this issue.
I would like to point out that the gpt-5-nano model is no longer free, so if OpenCode Zen is not configured or does not have any balance, title generation seems to fail as well, depending on what provider/model is being used.
Setting small_model in opencode.jsonc to any other model, either from a configured provider or to a free Zen model seems to resolve the problem (docs).
{
// ..."small_model": "qwen3.6-plus-free"
}
Reacted by dkk-38, dbul, Alejandro B, Josh Stone, SrAlcantaraRD, Ryota Kota, Firas Amara and Tahsin
Activity
github-actions commentedon Jan 4, 2026
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.
jiyeol-lee commentedon Jan 4, 2026
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)
aklajnert commentedon Jan 5, 2026
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 commentedon Jan 5, 2026
I have just updated to 1.1.2, and noticed that the problem is gone, closing the issue.
EgilSandfeld commentedon Feb 13, 2026
Got this issue with Opencode Web and using GLM 5, but discovered that renaming uses GPT 5-nano (free with Zen), but when providing own OpenAI API Key in Zen settings and insufficient funds, this is what I see in logs, when running "opencode run --print-logs hi":
ERROR 2026-02-13T10:18:48 +1143ms service=llm providerID=opencode modelID=gpt-5-nano sessionID=ses_3a97d6100ffe6k1msy10u0To3H small=true agent=title mode=primary error={"error":{"type":"error","sequence_number":2,"error":{"type":"insufficient_quota","code":"insufficient_quota","message":"You exceeded your current quota, please check your plan and billing details. For more information on this error, read the docs: https://platform.openai.com/docs/guides/error-codes/api-errors.","param":null}}} stream error
Removing the OpenAI key or adding funds fixes this issue.
autowert66 commentedon May 20, 2026
I would like to point out that the
gpt-5-nanomodel is no longer free, so if OpenCode Zen is not configured or does not have any balance, title generation seems to fail as well, depending on what provider/model is being used.Setting
small_modelinopencode.jsoncto any other model, either from a configured provider or to a free Zen model seems to resolve the problem (docs).{ // ... "small_model": "qwen3.6-plus-free" }riyas-rawther commentedon Jun 27, 2026
Thanks @autowert66 it solved the issue.