GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Auto-title generation silently fails when provider has no small model · Issue #25344 · anomalyco/opencode

Auto-title generation silently fails when provider has no small model #25344

New issue
Copy link
New issue
Copy link
Closed as not planned
Closed as not planned
Auto-title generation silently fails when provider has no small model#25344
Copy link
Assignees
kitlangton

Description

@per-hap-s
per-hap-s
opened on May 1, 2026
Issue body actions

Description

Sessions with providers that don't have a small model configured never get auto-generated titles. They remain stuck with the default "New session - ..." title indefinitely, even after many messages.

Steps to Reproduce

  1. Use a provider without a small model configured (e.g., any non-Zen provider)
  2. Create a new session
  3. Send a message
  4. Session title stays as "New session - " permanently

Root Cause

In SessionPrompt.ensureTitle, the model selection for the title agent uses:

((yield* provider.getSmallModel(input.providerID)) ??
  (yield* provider.getModel(input.providerID, input.modelID)))

The ?? operator doesn't handle Effect-TS patterns:

  1. If getSmallModel returns an Effect that FAILS (no small model configured), yield* throws the error past ??, and the error is silently swallowed by t.ignore in the forkIn scope
  2. If getSmallModel returns Option.None, it's an object (not nullish), so ?? doesn't trigger the fallback

In both cases, the model is invalid, the LLM stream fails, and the session title is never updated.

Fix

Replace ?? with Effect.orElse() for proper Effect-TS error recovery.

Activity

  1. github-actions commented on May 1, 2026

    @github-actions
    github-actionsBot
    on May 1, 2026 – with GitHub Actions
    Contributor
    More actions

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

    • [BUG] Session title generation fails silently since v1.3.3 — effort parameter leaks into small model call #20269: Session title generation fails silently — same root cause (Effect error swallowed by Effect.ignore/t.ignore in the title fork, sessions stuck as "New session - ")
    • [Bug] Session title auto-generation fails silently with GitHub Copilot provider #24845: Session title auto-generation fails silently with GitHub Copilot provider — same symptom and same silent failure path in ensureTitle
    • [bug] Session auto-naming silently fails when small_model is invalid #14807: Session auto-naming silently fails when small_model is invalid — same area (getSmallModel failure not surfaced to user)

    If your issue is distinct (e.g. specifically the ?? operator not correctly handling Option.None vs Effect failure, rather than a parameter mismatch), please clarify the difference from those issues.

  2. thdxr
    assigned
    kitlangton
    on May 3, 2026
  3. easydev991 commented on Jun 6, 2026

    @easydev991
    easydev991
    on Jun 6, 2026
    More actions

    I have this bug in opencode TUI. When will it be fixed?

  4. github-actions commented on Aug 6, 2026

    @github-actions
    github-actionsBot
    on Aug 6, 2026 – with GitHub Actions
    Contributor
    More actions

    To stay organized issues are automatically closed after 60 days of no activity. If the issue is still relevant please open a new one.

  5. github-actions
    closed this as not plannedon Aug 6, 2026
  6. SimJoSt commented on Sep 24, 2026

    @SimJoSt
    SimJoSt
    on Sep 24, 2026
    More actions

    Bumping to show activity, even though it might be too late for this issue.

    Reacted by Oleg and 0crossing
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @kitlangton
    kitlangton

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    You are visitor 01402775 — GeezerVison does not store the pages you look up.
    Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.