Skip to content

Refactor: Delete rag - #20425

Merged
wangq8 merged 2 commits into
infiniflow:mainfrom
wangq8:refactor/delete-rag
Sep 30, 2026
Merged

wangq8 merged 2 commits into
infiniflow:mainfrom
wangq8:refactor/delete-rag

Conversation

@wangq8

@wangq8 wangq8 commented Sep 30, 2026

Copy link
Copy Markdown
Collaborator

No description provided.

@coderabbitai

coderabbitai Bot commented Sep 30, 2026 •

Copy link
Copy Markdown
Contributor

Review in Change Stack →

Navigate logical layers of code changes, visualize relationships, and explore their blast radius.

Important

Review skipped

Review was skipped as selected files did not have any reviewable changes.

⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Advanced

Run ID: 1aeb9ba9-b8b3-4ae2-bcc8-be7596104fb7

📥 Commits

Reviewing files that changed from the base of the PR and between 4c6b9e2 and 62107d9.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

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: 46f2f6d2-b2d7-406b-a536-977a26c26113

📥 Commits

Reviewing files that changed from the base of the PR and between 8767071 and 4c6b9e2.

📒 Files selected for processing (3)
  • rag/prompts/__init__.py
  • rag/prompts/generator.py
  • rag/prompts/template.py
💤 Files with no reviewable changes (3)
  • rag/prompts/template.py
  • rag/prompts/init.py
  • rag/prompts/generator.py

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

Walkthrough

The prompt generator and template loader modules were deleted. The package initializer that imported the generator and re-exported its public names was also removed.

Changes

Prompt package removal

Layer / File(s) Summary
Remove prompt utilities and exports
rag/prompts/generator.py, rag/prompts/template.py, rag/prompts/__init__.py
The generator functions and constants, load_prompt, and the package-level imports and re-exports were removed.

Priority: ⬇️ Low

Estimated code review effort: 2 (Simple) | ~10 minutes

Change: Other

Merge Risk: ⚪ Minimal · up to 4c6b9

The removed Python prompt utilities have no identified remaining application consumers. The change is mergeable subject to normal checks.

🚥 Pre-merge checks | ✅ 4 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Description check ⚠️ Warning The pull request has no description. It does not include the required Summary section or background context. Add a Summary section that briefly explains that rag/prompts/init.py, rag/prompts/generator.py, and rag/prompts/template.py were deleted, and explain the reason and expected impact of this change.
✅ Passed checks (4 passed)
Check name Status Explanation
Title check ✅ Passed The title identifies a deletion refactor, which matches the main change. It is imprecise because the pull request deletes rag/prompts files rather than the entire rag module.
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 0…
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

A rabbit finds the prompt files gone,
Their helpers packed and neatly drawn.
It hops past templates, light and free,
No exports left for it to see.
It twitches whiskers, then moves on.

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

@wangq8 wangq8 added the ci Continue Integration label Sep 30, 2026
@wangq8
wangq8 merged commit 866575c into infiniflow:main Sep 30, 2026
13 of 16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci Continue Integration

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant