Bug Description
When trying to switch models in the OpenClaw Control UI, an error appears: "Invalid model: xxx is not a valid model".
The UI appears to be incorrectly combining provider names with model IDs. For example:
- Expected model:
custom-coding-dashscope-aliyuncs-com/qwen3-max-2026-01-23
- UI tries to save as:
minimax-portal/qwen3-max-2026-01-23 (wrong provider)
Steps to Reproduce
- Open OpenClaw Control UI
- Navigate to model settings
- Try to change the model selection
- Error appears immediately
Expected Behavior
The model selector should correctly save the full model ID with the correct provider prefix.
Environment
- OpenClaw version: 2026.3.13
- UI: openclaw-control-ui
- Channel: webchat
Additional Context
The underlying config seems to be correct when checked via config.get, but the UI appears to have a bug in how it parses/validates model names before saving.
Bug Description
When trying to switch models in the OpenClaw Control UI, an error appears: "Invalid model: xxx is not a valid model".
The UI appears to be incorrectly combining provider names with model IDs. For example:
custom-coding-dashscope-aliyuncs-com/qwen3-max-2026-01-23minimax-portal/qwen3-max-2026-01-23(wrong provider)Steps to Reproduce
Expected Behavior
The model selector should correctly save the full model ID with the correct provider prefix.
Environment
Additional Context
The underlying config seems to be correct when checked via
config.get, but the UI appears to have a bug in how it parses/validates model names before saving.