Autonaming of sessions does not work #4844

Closed
opened 2026-02-16 17:45:39 -05:00 by yindo · 3 comments
Owner

Originally created by @zbynekwinkler on GitHub (Jan 12, 2026).

Originally assigned to: @rekram1-node on GitHub.

Description

All sessions have the default name. I've started renaming the sessions by hand but then I thought it should just name the session properly by itself. I've found that the functionality already exists but I have never seen it working. Given https://github.com/anomalyco/opencode/issues/4040#issuecomment-3688607840 I have set the small_model key in my config to google/gemini-2.5-flash and now it works.

It should be able to find the model without the config, right?

https://github.com/anomalyco/opencode/blob/087473be6ec4ad21220752de2391e8b882f7058f/packages/opencode/src/provider/provider.ts#L1044

Plugins

opencode-gemini-auth@latest

OpenCode version

1.1.7

Steps to reproduce

No response

Screenshot and/or share link

No response

Operating System

Windows

Terminal

Windows Terminal

Originally created by @zbynekwinkler on GitHub (Jan 12, 2026). Originally assigned to: @rekram1-node on GitHub. ### Description All sessions have the default name. I've started renaming the sessions by hand but then I thought it should just name the session properly by itself. I've found that the functionality already exists but I have never seen it working. Given https://github.com/anomalyco/opencode/issues/4040#issuecomment-3688607840 I have set the `small_model` key in my config to `google/gemini-2.5-flash` and now it works. It should be able to find the model without the config, right? https://github.com/anomalyco/opencode/blob/087473be6ec4ad21220752de2391e8b882f7058f/packages/opencode/src/provider/provider.ts#L1044 ### Plugins opencode-gemini-auth@latest ### OpenCode version 1.1.7 ### Steps to reproduce _No response_ ### Screenshot and/or share link _No response_ ### Operating System Windows ### Terminal Windows Terminal
yindo added the windowsbug labels 2026-02-16 17:45:39 -05:00
yindo closed this issue 2026-02-16 17:45:39 -05:00
Author
Owner

@github-actions[bot] commented on GitHub (Jan 12, 2026):

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

  • #5097: When use vertex models (like gemini 3 pro preview) no session name generated
  • #4040: Session auto naming
  • #7298: Feature Request: Add option to customize session title language

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

@github-actions[bot] commented on GitHub (Jan 12, 2026): This issue might be a duplicate of existing issues. Please check: - #5097: When use vertex models (like gemini 3 pro preview) no session name generated - #4040: Session auto naming - #7298: Feature Request: Add option to customize session title language Feel free to ignore if none of these address your specific case.
Author
Owner

@zbynekwinkler commented on GitHub (Jan 12, 2026):

https://github.com/anomalyco/opencode/issues/5097#issuecomment-3615157002 suggest that for google as a provider it should work.

@zbynekwinkler commented on GitHub (Jan 12, 2026): https://github.com/anomalyco/opencode/issues/5097#issuecomment-3615157002 suggest that for `google` as a provider it should work.
Author
Owner

@zbynekwinkler commented on GitHub (Jan 12, 2026):

I forgot to mention I use opencode-gemini-auth@latest plugin with the cloud project id set (corporate environment).

@zbynekwinkler commented on GitHub (Jan 12, 2026): I forgot to mention I use `opencode-gemini-auth@latest` plugin with the cloud project id set (corporate environment).
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#4844