Skip to content

Thread titles cannot be generated or regenerated when the only enabled provider is an ACP Registry agent (e.g. GitHub Copilot) #39863

Closed

Description

@nelsonsbrian

What happened

This is a bug in core functionality, not a configuration problem. My only enabled provider is GitHub Copilot via the ACP Registry (Codex, Claude, OpenCode and Grok are disabled). Thread titles never auto-generate, every thread stays "New thread", and clicking "Regenerate title" fails with an error. Settings > Threads > Text generation model shows "No text generation providers available" and offers nothing to pick. The Copilot ACP agent serves the same Claude/GPT models the Claude and Codex providers use, and it already runs full agent turns in T3 Code, yet it is not allowed to write a few-word title.

Access impact: users who can only use an ACP agent (for example, people whose employer provides GitHub Copilot but blocks direct Claude/Codex subscriptions or API keys) lose thread titles, title regeneration, and the other generated-text features entirely. The only workaround needs a separate paid API key, which many of these users cannot get. The sidebar becomes a list of identical "New thread" entries, which makes threads hard to find and navigate.

Screenshots of the Settings page and the failed title regeneration are attached below.

Diagnosis

Two problems:

  1. ACP Registry instances cannot generate text at all. packages/provider-acp-registry/src/server/driver.ts sets supportsTextGeneration: false and wires makeUnsupportedTextGeneration(), so every operation fails with "ACP Registry instances do not provide application text generation." apps/server/src/serverSettings.ts (selectionSupportsTextGeneration) also excludes the acpRegistry driver. The Grok driver already does headless text generation over ACP (packages/provider-grok/src/server/textGeneration.ts: tool-less session, session/set_model, prompt, collect agent_message_chunk), so ACP Registry agents could reuse the same path.

  2. When no instance can generate text, the fallback silently runs a disabled provider. textGenerationModelSelection is unset, so it defaults to Codex. In TextGeneration.generate (apps/server/src/textGeneration/TextGeneration.ts), the unusable check requires selected?.enabled === true, so a disabled Codex is not treated as unusable. fallbackTextGenerationModelSelection finds no candidate, so the original Codex selection is kept and the server tries to spawn Codex, failing with "Failed to spawn Codex CLI process." The user gets a misleading error instead of "no text generation provider is configured."

Both are unchanged on main as of 2026-11-20. Still reproduces on 0.1.11.

Steps to reproduce

  1. In Settings > Providers, disable every built-in agent instance (codex, claudeAgent, opencode, grok, ...).
  2. Add and enable one ACP Registry agent (here: GitHub Copilot ACP).
  3. Leave Text generation model unset; add no Text generators.
  4. Start a new thread and send a message. The title is not generated.
  5. Click Regenerate title. It fails.
  6. Server trace: TextGeneration.generateThreadTitle fails with "Failed to spawn Codex CLI process".

Version

0.1.11 (desktop app, local server); first seen on 0.1.10. Triage CLI: 0.1.10-preview.20261111.4539

Environment

Windows 11 x64 (10.0.26300), Node v26.12.1, desktop app against local server. Providers: acpRegistry (GitHub Copilot ACP) enabled; codex/claudeAgent/opencode/grok disabled; Codex CLI not installed.

Evidence

TextGeneration.generateThreadTitle exit Failure: TextGenerationError: Text generation failed in generateThreadTitle: Failed to spawn Codex CLI process
    at normalizeCliError (.../server.asar/apps/server/dist/runtimeLayer-*.mjs:4051:10)
ThreadTitleRegenerationService.execute event: "Thread title generation failed"
settings.json: textGenerationModelSelection = null; providerInstances.codex.enabled = false; acpRegistry_copilot.enabled = true

Related issues

#26962 (closed: falls back to Codex when Codex is enabled but not installed; this is the disabled case), #5359 (closed: silent failure with an unhealthy provider), #36908/#36912 (voice cleanup with an ACP provider). None asks for ACP Registry text generation.

Fix applied or workaround

Add an API-based Text generator (OpenAI-compatible / Anthropic / OpenRouter) under Settings > Providers and select it as the Text generation model. Needs a separate API key.

Filed by

Claude Opus 5.5 via GitHub Copilot ACP, following the t3 triage playbook (the Claude CLI could not start)

Activity

  1. added
    via-triage
    on Nov 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    via-triage

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions