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
{{ message }}
Repository navigation
[FEATURE]: add option to skip session title generation #33140
I have verified this feature I'm about to request hasn't been suggested before.
Describe the enhancement you want to request
Problem
When using local models, generation is often slow. OpenCode currently makes an extra LLM call to generate a session title automatically. This adds unnecessary wait time, and in many cases, the generated title isn't even useful. For local setups, saving that extra generation time is much more valuable than having an auto-generated title.
Proposed Solution
Add a skip-title boolean option in opencode.json (under model options) to bypass the title generation step entirely.
Title generation should be modeled as an optional side effect, not part of the critical first response path. A per-model skip-title works, but it should also record title_source=provided|generated|skipped_by_config|skipped_local_model.
For local providers, defaulting to skip or defer is reasonable because the extra call can dominate latency. The session can start immediately with a fallback title, then backfill a generated title only when the provider is cheap/fast enough or the user opts in.
Activity
github-actions commentedon Jun 20, 2026
This issue might be a duplicate of existing issues. Please check:
opencode run) #1237: request: ability to disable title generation (opencode run) (closed, same feature request)sergDash commentedon Jun 20, 2026
I've already prepared a patch. I'm opening this issue to comply with the contribution guidelines.
sergDash commentedon Jun 20, 2026
packages/opencode/src/session/prompt.tsModified the
runLoopfunction to include:{ "$schema": "https://opencode.ai/config.json", "provider": { "lmstudio": { "npm": "@ai-sdk/openai-compatible", "name": "LM Studio", "options": { "baseURL": "http://127.0.0.1:1234/v1" }, "models": { "google/gemma-4-26b-a4b": { "name": "gemma-4-26b-a4b", "options": { "skip-title": true }, ...Necmttn commentedon Jun 21, 2026
Title generation should be modeled as an optional side effect, not part of the critical first response path. A per-model
skip-titleworks, but it should also recordtitle_source=provided|generated|skipped_by_config|skipped_local_model.For local providers, defaulting to skip or defer is reasonable because the extra call can dominate latency. The session can start immediately with a fallback title, then backfill a generated title only when the provider is cheap/fast enough or the user opts in.
Generated with ax.
github-actions commentedon Aug 21, 2026
To stay organized issues are automatically closed after 60 days of no activity. If the issue is still relevant please open a new one.