You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Bug]: Naming an ACP custom model disables its provider #37515
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
Configure a local or registry ACP provider in Settings.
Add a custom model, set a display name or model option, and save.
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.
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