Skip to content

AI commit message button hidden instead of disabled when zed.dev provider has no active subscription #46142

Description

@ivan-magda

Reproduction steps

  1. Configure zed.dev as the default model provider:
"agent": {
  "default_model": {
    "provider": "zed.dev",
    "model": "claude-sonnet-4.5"
  }
}
  1. Have no active Pro subscription (e.g., after trial period ends)

  2. Open Git Panel with staged changes

  3. Look for the pencil icon (generate commit message button) in the commit message area — it's not there

  4. Change provider to copilot_chat (or any other with configured API keys):

"agent": {
  "default_model": {
    "provider": "copilot_chat",
    "model": "claude-sonnet-4.5"
  }
}
  1. The pencil icon reappears and works correctly

Current vs. Expected behavior

Current behavior:
The "generate commit message" button (pencil icon) is completely hidden when using zed.dev provider without an active Pro subscription. No indication is given about why the feature is missing or how to enable it.

Expected behavior:
The button should remain visible but disabled, with a tooltip explaining: "Requires Pro subscription or configured API keys." Alternatively, clicking should show a message directing users to configure their own API keys or subscribe.

Zed version and system specs

Zed 0.217.3
80433cb

0.217.3+stable.105.80433cb239e868271457ac376673a5f75bc4adb1

Attach Zed log file

Zed.log

Relevant Zed settings

settings.json

Relevant Keymap

No response

(for AI issues) Model provider details

No response

If you are using WSL on Windows, what flavor of Linux are you using?

None

Additional Context

Documentation Gap

The Git documentation states:

“Note that you need to have an LLM provider configured for billing purposes, either via your own API keys or trialing/paying for Zed’s hosted AI models.”

This requirement exists in docs but isn’t surfaced in the UI when the feature becomes unavailable.

Suggested Implementation Options

  1. Minimal: Disabled button with tooltip: “Requires Pro subscription or own API keys”
  2. Better: Clickable button → inline message with options:
  1. Ideal: Small hint in Git Panel: “✨ AI commit messages available with Pro or your own API keys”

User Impact

  • Trial users → confused when feature silently disappears
  • Users with own API keys → unaware the feature exists
  • Evaluating users → can’t see what Pro offers

A visible-but-disabled element would be self-documenting.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:aiRelated to Agent Panel, Edit Prediction, Copilot, or other AI featuresreach:many usersBugs that happen for at least a third of the users across all platforms and kinds of usageseverity:S3Papercuts, minor issues with a clear non-tedious workaround, cosmetic bugs

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions