Skip to content

[Bug]: Optional model alias blocks OpenAI-compatible onboarding #1331

Description

@omandryk

Summary

During OpenAI-compatible provider onboarding in OpenClaw Companion, the step labeled Model alias (optional) cannot be submitted with an empty value because the Continue button is disabled.

The field is optional in the Gateway onboarding flow, so users should be able to leave it blank.

Steps to reproduce

  1. Start OpenClaw Companion onboarding.
  2. Choose the OpenAI-compatible/custom provider path.
  3. Complete the endpoint, API key, compatibility, model ID, and endpoint ID steps.
  4. Reach Model alias (optional).
  5. Leave the field empty.

Actual behavior

Continue remains disabled. Entering an alias is required to proceed despite the field being labeled optional.

Expected behavior

Continue remains available and submits the empty string to the Gateway. The Gateway should remain authoritative for text-field validation so it can accept optional empty values and return its own validation message for required fields.

Current-main evidence

Current Companion main still treats every text wizard step as requiring non-whitespace input in WizardSelection.ShouldDisableContinue, and WizardPage.UpdateContinueState uses that gate for all text steps. The Gateway wizard protocol does not currently expose whether an individual text step is required.

A local patch and regression tests are prepared. The patch also handles the Gateway's successful non-terminal validation response (error plus the same step) so required-field errors remain visible, entered text is preserved, and rejected answers are not appended to the transcript.

Environment

  • Surface: OpenClaw Companion onboarding on Windows
  • Flow: OpenAI-compatible/custom model provider
  • Observed: September 5, 2026
  • Current repository main inspected at 305bb4ef5334ded9f8541aca19c66ba2c4b08754

Additional context

The original observation included a screenshot showing the empty Model alias (optional) field with a disabled Continue button. The screenshot is not attached here because it was shared in a separate private conversation and is not being republished without a directly available upload artifact.

Activity

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

    P1Urgent regression or broken agent/channel workflow affecting real users now.clawsweeper:linked-pr-openClawSweeper found an open linked pull request for this issue.clawsweeper:no-new-fix-prClawSweeper does not recommend queueing a new automated fix PR for this issue.clawsweeper:source-reproClawSweeper found a high-confidence source-level issue reproduction.impact:ux-frictionUser-facing flow adds avoidable confusion or support burden without fully blocking progress.issue-rating: 🦞 diamond lobsterVery strong issue quality with high-confidence source-level or clear reproduction.stale

    Type

    No type

    Fields

    Priority

    None yet

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions