Skip to content

[bug] generation: No actionable setup entry when no model is configured #370

Open

Description

@yenuo26

Problem

When no model is available for the selected generation type, the workspace shows a disabled "No generation model configured" control. It explains why generation is unavailable but provides no actionable path to configure a model, interrupting the creation flow.

This was reported from the video-generation panel. In src/canvas/NodeComposer.tsx, the model selector is disabled when serviceModels.length === 0.

Steps to reproduce

  1. Open a workspace without an available video-generation model.
  2. Create or select a video node and open its generation panel.
  3. Inspect the model selector at the bottom of the panel.
image

Actual behavior

The selector displays an unconfigured-model placeholder and is disabled. The user must independently find Settings and the model connection page.

Expected behavior

The empty state provides an actionable "Configure video model" button that opens Settings → Model connections at the corresponding category and setup entry. Image and audio panels should handle the same condition consistently. A configured model in another category should not hide this action.

Returning from setup must preserve the prompt, references, parameters and selected node. Saving a model should refresh the available choices; cancelling or failing setup must not discard the draft. Configuration must not automatically submit generation or trigger a paid call.

Acceptance criteria

  • A click or keyboard activation opens the correct model configuration category from the empty state.
  • Saving, cancelling or failing setup preserves the existing creation context; newly saved compatible models become selectable.
  • Existing model selection, running-task restrictions and generation validation remain effective.
  • English and Chinese UI text and focus restoration are verified; npm run check:i18n passes.

Evidence and scope

Based on the reported workspace screenshot and inspection of the disabled-selector condition. No real-provider call is required to reproduce the empty state. This issue reports an existing usability gap; it does not assign implementation work to the reporter.

Activity

  1. changed the title [-][feat] generation: 未配置模型时提供直接配置入口[/-] [+][bug] generation: No actionable setup entry when no model is configured[/+] on Nov 16, 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

    area:canvasCanvas, nodes and direct manipulationarea:i18nLocalisation and bilingual UI

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions