Skip to content

fix: update Tongyi Qianwen API key URL to bailian console - #18266

Merged
wangq8 merged 1 commit into
infiniflow:mainfrom
euvre:fix/qianwen-api-key-url
Aug 14, 2026
Merged

wangq8 merged 1 commit into
infiniflow:mainfrom
euvre:fix/qianwen-api-key-url

Conversation

@euvre

@euvre euvre commented Aug 14, 2026

Copy link
Copy Markdown
Contributor

Problem

The 'API Key' link on the Tongyi-Qianwen model provider card (Settings -> Model providers) pointed to https://dashscope.console.aliyun.com/apiKey, a domain that is now offline (DNS/endpoint retired), so users following the link land on a dead page.

Root cause

Alibaba Cloud migrated DashScope / Model Studio API key management to the Bailian console. The frontend constant APIMapUrl[LLMFactory.TongYiQianWen] in web/src/constants/llm.ts still referenced the retired dashscope.console.aliyun.com domain.

Fix

Updated APIMapUrl[LLMFactory.TongYiQianWen] to https://bailian.console.aliyun.com/?tab=model#/api-key.

Verification

  • Greped the whole repo: the dead domain existed only in web/src/constants/llm.ts.
  • Ran the app, Settings -> Model providers -> Tongyi-Qianwen: the API Key link now renders https://bailian.console.aliyun.com/?tab=model#/api-key.
  • oxlint / oxfmt pre-commit hooks pass.

The dashscope.console.aliyun.com domain is offline; Alibaba Cloud has
migrated DashScope/Model Studio API key management to the Bailian
console (bailian.console.aliyun.com).
@euvre euvre added the ci Continue Integration label Aug 14, 2026
@euvre
euvre requested a review from wangq8 August 14, 2026 06:12
@dosubot dosubot Bot added size:XS This PR changes 0-9 lines, ignoring generated files. 🐞 bug Something isn't working, pull request that fix bug. 🧰 typescript Pull requests that update Typescript code labels Aug 14, 2026
@coderabbitai

coderabbitai Bot commented Aug 14, 2026 •

Copy link
Copy Markdown
Contributor

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro Plus

Run ID: 8df3ff7f-4ee6-4209-9b2e-9fdb3194dc0a

📥 Commits

Reviewing files that changed from the base of the PR and between 15a63bc and 1a53918.

📒 Files selected for processing (1)
  • web/src/constants/llm.ts

📝 Walkthrough

Walkthrough

The Tongyi-Qianwen API key URL now points to the Alibaba Bailian model API-key console.

Changes

LLM API URL

Layer / File(s) Summary
Update API key URL
web/src/constants/llm.ts
The Tongyi-Qianwen API key URL now uses the Alibaba Bailian model API-key console endpoint.

Estimated code review effort: 1 (Trivial) | ~2 minutes

Merge Risk: ⚪ Minimal · up to 1a539

This change updates the Tongyi-Qianwen API key link to the current Bailian console without altering application behavior beyond that navigation target. No actionable merge-blocking risk remains after normal checks and review.

Suggested reviewers: jinhai-cn, lynn-inf, nikminer

Poem

A rabbit hops through links so bright,
The Bailian console now feels right.
One URL changed its place,
For keys to find with ease and grace.

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly and concisely identifies the main change: updating the Tongyi Qianwen API key URL to the Bailian console.
Description check ✅ Passed The description explains the problem, root cause, fix, and verification, and it provides the required summary information.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@wangq8 wangq8 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

LGTM. The old dashscope.console.aliyun.com domain is retired and the Bailian console is the correct place for API key management. Grep confirms this was the only reference in the repo. Nice catch.

Minor/non-blocking: the URL relies on the SPA hash route #/api-key (with ?tab=model). If the console ever changes its frontend routing the link could break again, but that's inherent to linking into a SPA. Fine as-is.

@wangq8
wangq8 merged commit 91bfcdf into infiniflow:main Aug 14, 2026
12 checks passed
nikminer pushed a commit to nikminer/ragflow-mws that referenced this pull request Aug 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

🐞 bug Something isn't working, pull request that fix bug. ci Continue Integration size:XS This PR changes 0-9 lines, ignoring generated files. 🧰 typescript Pull requests that update Typescript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants