You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
fix(web): correct PaddleOCR provider links to AI Studio - #21196
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.
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.
The PaddleOCR links are updated as intended with no identified impact to existing consumers.
Pre-merge checks: 5
Check name
Status
Explanation
Title check
The title clearly and concisely describes the main change: correcting PaddleOCR provider links to Baidu AI Studio.
Description check
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
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
Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check
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.
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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
PaddleOCR and PaddleOCR.local provider links in the frontend jumped to an incorrect page. Both
APIMapUrlentries pointed tohttps://www.paddleocr.ai/latest/. This PR points them tohttps://aistudio.baidu.com/paddleocr.Related Issue
None.
Changes
web/src/constants/llm.ts: updateAPIMapUrl[LLMFactory.PaddleOCR]andAPIMapUrl[LLMFactory.PaddleOCRLocal]tohttps://aistudio.baidu.com/paddleocr.provider-header-bar.tsx,available-models.tsx) need no changes; they readAPIMapUrldirectly.Test Plan
npx oxfmt --check web/src/constants/llm.ts: pass.npx oxlint web/src/constants/llm.ts: pass.paddleocr.aireferences underweb/src.