Skip to content

alibaba provider consolidation - #2319

Merged
diegosouzapw merged 3 commits into
cheaper-inference:release/v3.8.0from
backryun:codex/alibaba-provider-consolidation
May 17, 2026
Merged

diegosouzapw merged 3 commits into
cheaper-inference:release/v3.8.0from
backryun:codex/alibaba-provider-consolidation

Conversation

@backryun

Copy link
Copy Markdown
Contributor

Summary

  • Consolidates Alibaba providers by removing legacy alicode / alicode-intl entries.
  • Adds alibaba-cn for DashScope China while keeping alibaba for DashScope international.
  • Updates Alibaba provider names, model mappings, icons, Qwen migration guidance, and provider docs.

Validation

  • npm run lint
  • npm run test:unit
  • npm run test:coverage
  • Coverage is still >= 60% for statements, lines, functions, and branches
  • SonarQube PR analysis is green or any remaining issues are explicitly documented below

Additional local validation run:

  • Pre-commit hook passed: docs sync, any-budget check, env/docs sync, CLI i18n, i18n coverage.
  • node --import tsx/esm --test tests/unit/cache-control-claude-providers.test.ts tests/unit/provider-models-config.test.ts tests/unit/providers-page-utils.test.ts

Tests Added Or Updated

  • tests/unit/cache-control-claude-providers.test.ts

Coverage Notes

  • This changes Alibaba provider metadata in src/ and open-sse/.
  • Existing provider model config tests cover provider registry/model resolution.
  • Existing cache-control provider tests were updated to remove the deleted alicode expectation.
  • No coverage decrease is expected because this is provider metadata cleanup.

Reviewer Notes

  • No migrations or feature flags.
  • Review focus: alicode / alicode-intl removal and the supported Alibaba provider IDs now being alibaba, alibaba-cn, and bailian-coding-plan.

@backryun
backryun requested a review from diegosouzapw as a code owner May 17, 2026 00:21

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request refactors the Alibaba provider integration, replacing legacy identifiers with alibaba, alibaba-cn, and bailian-coding-plan, and updates associated documentation, icons, and dashboard sorting logic. Feedback identifies critical omissions where the new bailian-coding-plan provider was not added to the necessary registries, which will prevent it from functioning. Additionally, the reviewer noted the potential accidental removal of Voyage AI models, suggested restoring a named constant for model lists to improve maintainability, and requested a formatting correction for the Alibaba China provider name. Per the repository style guide, unit tests must also be added for the new provider to verify its Claude-compatibility.

Comment thread open-sse/config/providerRegistry.ts Resolved
Comment thread src/shared/constants/providers.ts Resolved
Comment thread open-sse/config/embeddingRegistry.ts Resolved
Comment thread open-sse/config/providerRegistry.ts Resolved
Comment thread src/shared/constants/providers.ts Resolved
@backryun
backryun force-pushed the codex/alibaba-provider-consolidation branch from be24ef1 to afb1729 Compare May 17, 2026 00:37
@diegosouzapw
diegosouzapw merged commit cf3262a into cheaper-inference:release/v3.8.0 May 17, 2026
2 checks passed
@diegosouzapw

Copy link
Copy Markdown
Collaborator

Thank you @backryun for the Alibaba provider consolidation! 🙏

Merging the old alicode/alicode-intl providers into a shared ALIBABA_DASHSCOPE_MODELS array reduces catalog confusion and keeps model lists in sync. The i18n llm.txt provider count updates across 42 locales are appreciated.

Conflicts with the release branch were resolved during integration. This will be included in v3.8.0. 🚀

@backryun
backryun deleted the codex/alibaba-provider-consolidation branch May 17, 2026 00:51
HouMinXi pushed a commit to HouMinXi/OmniRoute that referenced this pull request Aug 2, 2026
Integrated into release/v3.8.0 — consolidates Alibaba-related providers, updates model registries and docs.
Poid-ZA pushed a commit to Poid-ZA/OmniRoute that referenced this pull request Aug 5, 2026
Integrated into release/v3.8.0 — consolidates Alibaba-related providers, updates model registries and docs.
muhamadgalihsaputra pushed a commit to niyatna/NiyatnaRoute that referenced this pull request Sep 27, 2026
Integrated into release/v3.8.0 — consolidates Alibaba-related providers, updates model registries and docs.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants