opencode
opencode copied to clipboard
Autonaming of sessions does not work
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