Skip to content

Fix(chat): reorder Rerank and Cross Language form fields in ChatPromptEngine - #18978

Merged
wangq8 merged 1 commit into
infiniflow:mainfrom
cike8899:fix-multi-chat
Aug 28, 2026
Merged

wangq8 merged 1 commit into
infiniflow:mainfrom
cike8899:fix-multi-chat

Conversation

@cike8899

Copy link
Copy Markdown
Contributor

Summary

Fix(chat): reorder Rerank and Cross Language form fields in ChatPromptEngine

@dosubot dosubot Bot added size:XS This PR changes 0-9 lines, ignoring generated files. 🐞 bug Something isn't working, pull request that fix bug. 🧰 typescript Pull requests that update Typescript code labels Aug 28, 2026
@cike8899
cike8899 requested a review from wangq8 August 28, 2026 09:40
@cike8899 cike8899 added the ci Continue Integration label Aug 28, 2026
@cike8899
cike8899 marked this pull request as draft August 28, 2026 09:40
@cike8899
cike8899 marked this pull request as ready for review August 28, 2026 09:40
@coderabbitai

coderabbitai Bot commented Aug 28, 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 Plus

Run ID: c3430b91-9ff6-498a-a9eb-57fd4e1c14cd

📥 Commits

Reviewing files that changed from the base of the PR and between 40ba190 and 9a9d6ff.

📒 Files selected for processing (1)
  • web/src/pages/next-chats/chat/app-settings/chat-prompt-engine.tsx

Included review availability: Your plan provides up to 10 included reviews per hour; 7 remain after this review.


📝 Walkthrough

Walkthrough

The advanced settings panel now renders reranking and cross-language fields before the multi-turn refinement field. Field names, labels, props, and behavior remain unchanged.

Changes

Advanced settings

Layer / File(s) Summary
Reorder advanced settings fields
web/src/pages/next-chats/chat/app-settings/chat-prompt-engine.tsx
RerankFormFields and CrossLanguageFormField now render before the refine_multiturn switch.

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

Merge Risk: ⚪ Minimal · up to 9a9d6

This change only reorders existing ChatPromptEngine form fields and does not alter functionality, data flow, permissions, or deployment behavior. No actionable merge-blocking risk remains after normal checks.

Suggested reviewers: wangq8

Poem

A rabbit reviewed the fields in a row
Rerank came first, then language flow
The multi-turn switch followed with care
No props changed in the settings there
Order shifted, behavior stayed fair

🚥 Pre-merge checks | ✅ 4 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Docstring Coverage ⚠️ Warning Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff. Analyzed 1 functions across 1 files. Write docstrings for the functions missing them to satisfy the coverage threshold.
✅ Passed checks (4 passed)
Check name Status Explanation
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 clearly describes the form-field reordering implemented in ChatPromptEngine.
Description check ✅ Passed The description includes the required Summary section and states the purpose of the change. It does not include background context, but the description is sufficiently complete for this small change.
  • Fix all pre-merge checks with AI

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.

@wangq8 wangq8 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. This is a pure reorder of the Rerank and Cross Language fields in the ChatPromptEngine form — no logic change, field names and prefixName calls are unchanged. Low risk. ✅

@wangq8
wangq8 merged commit 694a68b into infiniflow:main Aug 28, 2026
12 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. 🧰 typescript Pull requests that update Typescript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants