Skip to content

fix(web): correct PaddleOCR provider links to AI Studio - #21196

Merged
wangq8 merged 1 commit into
infiniflow:mainfrom
jay77721:fix-paddleocr-url
Oct 20, 2026
Merged

wangq8 merged 1 commit into
infiniflow:mainfrom
jay77721:fix-paddleocr-url

Conversation

@jay77721

Copy link
Copy Markdown
Member

Summary

PaddleOCR and PaddleOCR.local provider links in the frontend jumped to an incorrect page. Both APIMapUrl entries pointed to https://www.paddleocr.ai/latest/. This PR points them to https://aistudio.baidu.com/paddleocr.

Related Issue

None.

Changes

  • web/src/constants/llm.ts: update APIMapUrl[LLMFactory.PaddleOCR] and APIMapUrl[LLMFactory.PaddleOCRLocal] to https://aistudio.baidu.com/paddleocr.
  • Consumers (provider-header-bar.tsx, available-models.tsx) need no changes; they read APIMapUrl directly.

Test Plan

  • npx oxfmt --check web/src/constants/llm.ts: pass.
  • npx oxlint web/src/constants/llm.ts: pass.
  • Verified no remaining paddleocr.ai references under web/src.
  • Constant-only change; no unit tests affected.

@jay77721 jay77721 added javascript Pull requests that update Javascript code size:XS This PR changes 0-9 lines, ignoring generated files. 🐞 bug Something isn't working, pull request that fix bug. ci Continue Integration labels Oct 20, 2026
@jay77721
jay77721 requested a review from wangq8 October 20, 2026 02:48
@coderabbitai

coderabbitai Bot commented Oct 20, 2026 •

Copy link
Copy Markdown
Contributor

Review in Change Stack →

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration
  • Configuration used: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: c3b161c3-6850-4e21-b58c-32696c854195
📥 Commits

Reviewing files that changed from the base of the PR and between da74234 and 17aac10.

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

Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 9 remain after this review.

📝 Walkthrough

The PaddleOCR and PaddleOCRLocal API map entries now use https://aistudio.baidu.com/paddleocr instead of https://www.paddleocr.ai/latest/.

Changes: PaddleOCR URL update

Layer / File(s) Summary
Update PaddleOCR API map URLs
web/src/constants/llm.ts
The PaddleOCR and PaddleOCRLocal entries now use the Baidu AI Studio URL.

Priority: ⬇️ Low

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

Change: Bug fix

Suggested reviewers: lynn-inf

Merge Risk: ⚪ Minimal · up to 17aac

The PaddleOCR links are updated as intended with no identified impact to existing consumers.

Pre-merge checks: Passed 5
Check name Status Explanation
Title check Passed The title clearly and concisely describes the main change: correcting PaddleOCR provider links to Baidu AI Studio.
Description check Passed The description includes the required Summary section and provides clear context, file-level changes, validation results, and test impact. The content matches the pull request objectives.
Docstring Coverage Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 1…
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.
Full details: Docstring Coverage

Explanation

No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 1 files.

  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

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

A rabbit hops beside the page,
Two links now point to one new stage.
PaddleOCR and Local agree,
With Baidu’s address set to see.
The bunny nods, then bounds away.

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

@wangq8
wangq8 merged commit f42999e into infiniflow:main Oct 20, 2026
21 checks passed
@jay77721
jay77721 deleted the fix-paddleocr-url branch October 20, 2026 03:18
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 javascript Pull requests that update Javascript code size:XS This PR changes 0-9 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants