fix(config): name the MiniMax and Model Studio variant endpoints distinctly (CW-7408)

Two bundled descriptors were labelled "MiniMax" and four were labelled
"Alibaba Cloud Model Studio". So /v1/providers, and through it the
desktop's Default model, Add provider and key rows, showed identical names
that could only be told apart by raw ids. The variant rows now name what
their own descriptor fields distinguish (plan and wire), following
"DeepSeek (Anthropic API)" from 7904bd3d18:

- minimax-anthropic: "MiniMax (Anthropic API)"
- modelstudio-token-plan-anthropic:
  "Alibaba Cloud Model Studio (Token Plan, Anthropic API)"
- modelstudio-coding-plan: "Alibaba Cloud Model Studio (Coding Plan)"
- modelstudio-coding-plan-anthropic:
  "Alibaba Cloud Model Studio (Coding Plan, Anthropic API)"

The selectable rows minimax and modelstudio-token-plan keep "MiniMax" and
"Alibaba Cloud Model Studio". modelstudio-token-plan is the vendor row: its
aliases cover the Coding Plan and Anthropic spellings, and mode and wire
pick the plan and dialect. The TUI picker shows only these selectable rows,
so it is unchanged. Each web.label is already set, so the web facts output
is unchanged. The providers-export golden carries the same four labels. The
Unreleased changelog has one entry, synced into crates/tui/CHANGELOG.md.

Verification on this tree (main 9e3bcb47aa plus this change):
- nextest, the whole codewhale-config and codewhale-localization packages
  under scripts/with-hermetic-test-home.sh and scripts/dev-cargo.sh: 863
  passed, 0 failed, 1 skipped. This run includes
  golden_providers_export_matches_registry and
  deepseek_is_present_but_not_first_in_display_order.
- nextest codewhale-tui --lib, filter settings | provider | deepseek |
  descriptor | config_view | schema | minimax | modelstudio: 1481 passed,
  0 failed. This run includes picker_lists_all_providers.
- npm test: 547 Node tests (540 passed, 7 skipped, 0 failed) and 772 Vitest
  passed. npm run check:web: exit 0. No web file changed.
- Headless probe: a debug codewhale built from this tree, run as
  app-server --http with CODEWHALE_RUNTIME_TOKEN, an isolated HOME and
  CODEWHALE_HOME and an empty environment. GET /v1/providers returned 51
  providers and no display_name repeated.
- scripts/sync-changelog.sh wrote crates/tui/CHANGELOG.md.
  scripts/release/check-versions.sh --require-dated-release: exit 0.
- Not run: the desktop menus against this Engine.

Refs CW-7408

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01NBKbhx19BRbZtvWK8rVKjz
This commit is contained in:
CodeWhale BotandClaude Opus 5.5 committed 2026-10-16 02:54:32 -07:00
1 parent 9e3bcb47aa
commit 018cee3f3e
4 files changed
+20 -8

No files matched your search

+6
View File
@@ -12,6 +12,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
engine adopts each live process when its workspace, MCP backend and server
config are unchanged. A workspace switch still restarts every server, and
servers added at runtime still close (CW-7430).
- Provider lists no longer show two "MiniMax" rows or four "Alibaba Cloud
Model Studio" rows. The variant endpoints are labelled "MiniMax (Anthropic
API)", "Alibaba Cloud Model Studio (Token Plan, Anthropic API)", "Alibaba
Cloud Model Studio (Coding Plan)" and "Alibaba Cloud Model Studio (Coding
Plan, Anthropic API)"; the default MiniMax and Model Studio rows keep their
names (CW-7408).
## [0.10.2] - 2026-10-13
@@ -1214,7 +1214,7 @@
{
"kind": "MinimaxAnthropic",
"id": "minimax-anthropic",
"label": "MiniMax",
"label": "MiniMax (Anthropic API)",
"base_url": "https://api.minimax.io/anthropic",
"default_model": "MiniMax-M3",
"env_vars": [
@@ -1896,7 +1896,7 @@
{
"kind": "ModelstudioTokenPlanAnthropic",
"id": "modelstudio-token-plan-anthropic",
"label": "Alibaba Cloud Model Studio",
"label": "Alibaba Cloud Model Studio (Token Plan, Anthropic API)",
"base_url": "https://token-plan.ap-southeast-1.maas.aliyuncs.com/apps/anthropic",
"default_model": "qwen3.8-max",
"env_vars": [
@@ -1933,7 +1933,7 @@
{
"kind": "ModelstudioCodingPlan",
"id": "modelstudio-coding-plan",
"label": "Alibaba Cloud Model Studio",
"label": "Alibaba Cloud Model Studio (Coding Plan)",
"base_url": "https://coding-intl.dashscope.aliyuncs.com/v1",
"default_model": "qwen3.8-max",
"env_vars": [
@@ -1970,7 +1970,7 @@
{
"kind": "ModelstudioCodingPlanAnthropic",
"id": "modelstudio-coding-plan-anthropic",
"label": "Alibaba Cloud Model Studio",
"label": "Alibaba Cloud Model Studio (Coding Plan, Anthropic API)",
"base_url": "https://coding-intl.dashscope.aliyuncs.com/apps/anthropic",
"default_model": "qwen3.8-max",
"env_vars": [
@@ -411,7 +411,7 @@
{
"id": "minimax-anthropic",
"family": "minimax",
"label": "MiniMax",
"label": "MiniMax (Anthropic API)",
"endpoint": "https://api.minimax.io/anthropic",
"wire": "anthropic-messages",
"defaultModel": "MiniMax-M3",
@@ -477,7 +477,7 @@
{
"id": "modelstudio-coding-plan",
"family": "alibaba-modelstudio",
"label": "Alibaba Cloud Model Studio",
"label": "Alibaba Cloud Model Studio (Coding Plan)",
"endpoint": "https://coding-intl.dashscope.aliyuncs.com/v1",
"wire": "chat-completions",
"defaultModel": "qwen3.8-max",
@@ -523,7 +523,7 @@
{
"id": "modelstudio-coding-plan-anthropic",
"family": "alibaba-modelstudio",
"label": "Alibaba Cloud Model Studio",
"label": "Alibaba Cloud Model Studio (Coding Plan, Anthropic API)",
"endpoint": "https://coding-intl.dashscope.aliyuncs.com/apps/anthropic",
"wire": "anthropic-messages",
"defaultModel": "qwen3.8-max",
@@ -623,7 +623,7 @@
{
"id": "modelstudio-token-plan-anthropic",
"family": "alibaba-modelstudio",
"label": "Alibaba Cloud Model Studio",
"label": "Alibaba Cloud Model Studio (Token Plan, Anthropic API)",
"endpoint": "https://token-plan.ap-southeast-1.maas.aliyuncs.com/apps/anthropic",
"wire": "anthropic-messages",
"defaultModel": "qwen3.8-max",
+6
View File
@@ -12,6 +12,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
engine adopts each live process when its workspace, MCP backend and server
config are unchanged. A workspace switch still restarts every server, and
servers added at runtime still close (CW-7430).
- Provider lists no longer show two "MiniMax" rows or four "Alibaba Cloud
Model Studio" rows. The variant endpoints are labelled "MiniMax (Anthropic
API)", "Alibaba Cloud Model Studio (Token Plan, Anthropic API)", "Alibaba
Cloud Model Studio (Coding Plan)" and "Alibaba Cloud Model Studio (Coding
Plan, Anthropic API)"; the default MiniMax and Model Studio rows keep their
names (CW-7408).
## [0.10.2] - 2026-10-13