Skip to content

Fix: The Creativity parameter of chat was not saved. - #15243

Merged
KevinHuSh merged 2 commits into
infiniflow:mainfrom
cike8899:fix-search-required
May 27, 2026
Merged

KevinHuSh merged 2 commits into
infiniflow:mainfrom
cike8899:fix-search-required

Conversation

@cike8899

Copy link
Copy Markdown
Contributor

What problem does this PR solve?

Fix: The Creativity parameter of chat was not saved.

Type of change

  • Bug Fix (non-breaking change which fixes an issue)

@dosubot dosubot Bot added the size:XS This PR changes 0-9 lines, ignoring generated files. label May 26, 2026
@coderabbitai

coderabbitai Bot commented May 26, 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: 1492253b-6d47-43a4-9dbe-f5872b61e998

📥 Commits

Reviewing files that changed from the base of the PR and between 036ed5b and fe5f413.

📒 Files selected for processing (1)
  • web/src/components/llm-setting-items/next.tsx

📝 Walkthrough

Walkthrough

LlmSettingFieldSchema adds an optional string parameter field, extending the form schema to accept parameter strings alongside existing numeric parameters.

Changes

LLM Setting Field Schema Extension

Layer / File(s) Summary
Parameter field schema update
web/src/components/llm-setting-items/next.tsx
LlmSettingFieldSchema now includes an optional parameter: z.string() field, enabling the form state to accept string-valued parameters.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~2 minutes

Poem

🐰 A string parameter hops into view,
The schema now holds it—old and new!
One tiny line, so light and bright,
Makes LLM settings feel just right. ✨

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly identifies the bug being fixed (Creativity parameter not saving), which aligns with the code change adding a string parameter field to the schema.
Description check ✅ Passed The description includes both required sections: a problem statement and the type of change (Bug Fix), though the problem statement could be more detailed.
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.

@KevinHuSh KevinHuSh added the ci Continue Integration label May 27, 2026
@KevinHuSh
KevinHuSh marked this pull request as draft May 27, 2026 02:34
@KevinHuSh
KevinHuSh marked this pull request as ready for review May 27, 2026 02:34
@codecov

codecov Bot commented May 27, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 93.16%. Comparing base (036ed5b) to head (fe5f413).
⚠️ Report is 12 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main   #15243   +/-   ##
=======================================
  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 Sentry.
📢 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.

@KevinHuSh
KevinHuSh merged commit 187dc8a into infiniflow:main May 27, 2026
1 check passed
vincentlambert pushed a commit to Eurelis/Eurelis-RAGFlow-Fork that referenced this pull request May 27, 2026
### What problem does this PR solve?

Fix: The Creativity parameter of chat was not saved.
### Type of change

- [x] Bug Fix (non-breaking change which fixes an issue)
vincentlambert pushed a commit to Eurelis/Eurelis-RAGFlow-Fork that referenced this pull request May 28, 2026
### What problem does this PR solve?

Fix: The Creativity parameter of chat was not saved.
### Type of change

- [x] Bug Fix (non-breaking change which fixes an issue)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

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