Skip to content

Delete not supported model providers list - #15783

Merged
wangq8 merged 1 commit into
infiniflow:mainfrom
wangq8:bugfix/delete-not-supported-model-provider-list
Jun 8, 2026
Merged

wangq8 merged 1 commit into
infiniflow:mainfrom
wangq8:bugfix/delete-not-supported-model-provider-list

Conversation

@wangq8

@wangq8 wangq8 commented Jun 8, 2026

Copy link
Copy Markdown
Collaborator

Delete not supported model providers list

@wangq8
wangq8 marked this pull request as ready for review June 8, 2026 11:14
@dosubot dosubot Bot added the size:L This PR changes 100-499 lines, ignoring generated files. label Jun 8, 2026
@wangq8 wangq8 added the ci Continue Integration label Jun 8, 2026
@coderabbitai

coderabbitai Bot commented Jun 8, 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

Run ID: c3eb7d67-17a0-43df-a15a-37bf261b6be8

📥 Commits

Reviewing files that changed from the base of the PR and between d9a04ef and 7af0c16.

📒 Files selected for processing (1)
  • rag/llm/model_meta.py
💤 Files with no reviewable changes (1)
  • rag/llm/model_meta.py

📝 Walkthrough

Walkthrough

This PR removes three model provider classes—TencentCloud, FishAudio, and MinerU—from the model meta provider registry in rag/llm/model_meta.py. After deletion, OpenRouter becomes the next provider directly following BaiduYiyan, with no fallback replacement.

Changes

Provider Registry Cleanup

Layer / File(s) Summary
Remove deprecated provider classes
rag/llm/model_meta.py
Deleted TencentCloud, FishAudio, and MinerU provider classes and their associated authentication, token-handling, and model catalog implementations from the provider registry.

Possibly related PRs

  • infiniflow/ragflow#15752: Adds a new TencentCloud implementation in rag/llm/model_meta.py, which directly conflicts with this PR's removal of the same class.
  • infiniflow/ragflow#15764: Adds OpenRouter provider implementation in the same file, making the provider order change introduced by this deletion relevant to that PR.

Poem

🐰 Three providers vanished in the night,
TencentCloud, FishAudio took flight,
MinerU fades, the list grows lean,
OpenRouter now follows, clean and keen!

🎯 2 (Simple) | ⏱️ ~10 minutes

🚥 Pre-merge checks | ✅ 4 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Description check ⚠️ Warning The PR description is incomplete and lacks required sections from the template, including problem statement, change type, and detailed context. Add the required template sections: explain what problem this solves, select appropriate change type(s), and provide background context for reviewers.
✅ Passed checks (4 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly identifies the main change: removing unsupported model providers from the codebase.
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.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.


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 and usage tips.

@wangq8
wangq8 marked this pull request as draft June 8, 2026 11:15
@wangq8
wangq8 marked this pull request as ready for review June 8, 2026 11:15
@dosubot dosubot Bot added the python Pull requests that update python code label Jun 8, 2026
@codecov

codecov Bot commented Jun 8, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 93.16%. Comparing base (e81bca7) to head (7af0c16).
⚠️ Report is 27 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main   #15783   +/-   ##
=======================================
  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 c5d0060 into infiniflow:main Jun 8, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci Continue Integration python Pull requests that update python code size:L This PR changes 100-499 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant