Skip to content

[Bug]: Naming an ACP custom model disables its provider #37515

Closed

Description

@StiensWout

Before submitting

  • I searched existing issues and did not find a duplicate.
  • I included enough detail to reproduce or investigate the problem.

Area

apps/server

Steps to reproduce

  1. Configure a local or registry ACP provider in Settings.
  2. Add a custom model, set a display name or model option, and save.
  3. Inspect the provider availability.

Expected behavior

The provider stays available and the custom model retains its name and options.

Actual behavior

The provider becomes unavailable. Settings writes a rich custom model entry, but ACP settings accepts only string slugs and rejects the configuration at customModels[0]. This occurs whenever such an entry is saved.

Impact

Major degradation or frequent failure

Version or commit

main @ 399ea10

Environment

Local and registry ACP providers, shared Settings custom-model editor.

Logs or stack traces

SchemaError: Expected string at customModels[0]. A focused public driver snapshot test using toCustomModelSetting reproduces the failure on main. Independently confirmed by Claude Opus 5.5.

Workaround

Use a plain custom-model slug without a display name or options.

Found during the Pi and ACP Improvements hunt. Related merged #19313 handles plain-slug dispatch, rather than rich Settings entries.

Activity

  1. added
    vouch:trusted
    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

    vouch:trusted

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions