Skip to content

Fix: add default models for some ocr providers - #16982

Merged
wangq8 merged 3 commits into
infiniflow:mainfrom
Lynn-Inf:fix/minerU-models
Jul 16, 2026
Merged

wangq8 merged 3 commits into
infiniflow:mainfrom
Lynn-Inf:fix/minerU-models

Conversation

@Lynn-Inf

Copy link
Copy Markdown
Contributor

Summary

As title.

@dosubot dosubot Bot added the size:XS This PR changes 0-9 lines, ignoring generated files. label Jul 16, 2026
@Lynn-Inf Lynn-Inf added 🐞 bug Something isn't working, pull request that fix bug. ci Continue Integration labels Jul 16, 2026
@coderabbitai

coderabbitai Bot commented Jul 16, 2026 •

Copy link
Copy Markdown
Contributor

Review Change Stack

📝 Walkthrough

Walkthrough

Updated four OCR-related LLM factory definitions to include concrete OCR model entries for MinerU, PaddleOCR, OpenDataLoader, and SoMark.

Changes

OCR model registration

Layer / File(s) Summary
Register OCR provider models
conf/llm_factories.json
Adds one OCR model entry to each of the MinerU, PaddleOCR, OpenDataLoader, and SoMark factory definitions.

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

Possibly related PRs

Suggested reviewers: wangq8, 77zane, 6ba3i

Poem

I’m a bunny with models to share,
OCR entries now bloom everywhere.
MinerU hops, PaddleOCR too,
OpenDataLoader joins the queue,
SoMark’s model is ready to chew!

🚥 Pre-merge checks | ✅ 4 | ❌ 1

❌ Failed checks (1 inconclusive)

Check name Status Explanation Resolution
Description check ❓ Inconclusive The PR has the required Summary section, but the content is too vague and adds no background or purpose beyond the title. Expand the Summary with the problem being solved, why these defaults are needed, and which OCR providers were updated.
✅ Passed checks (4 passed)
Check name Status Explanation
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.
Title check ✅ Passed The title matches the change: it adds default OCR models for several providers.

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.

@Lynn-Inf
Lynn-Inf marked this pull request as draft July 16, 2026 07:25
@Lynn-Inf
Lynn-Inf marked this pull request as ready for review July 16, 2026 07:25
@Lynn-Inf
Lynn-Inf requested a review from wangq8 July 16, 2026 07:26
@codecov

codecov Bot commented Jul 16, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 93.16%. Comparing base (4518a58) to head (ee12862).
⚠️ Report is 26 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main   #16982   +/-   ##
=======================================
  Coverage   93.16%   93.16%           
=======================================
  Files          10       10           
  Lines         717      717           
  Branches      118      118           
=======================================
  Hits          668      668           
  Misses         29       29           
  Partials       20       20           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@wangq8
wangq8 merged commit f9d7f3d into infiniflow:main Jul 16, 2026
9 of 10 checks passed
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.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants