Skip to content

Add think chat to CLI - #13922

Merged
JinHai-CN merged 9 commits into
infiniflow:mainfrom
JinHai-CN:fix366
Apr 3, 2026
Merged

JinHai-CN merged 9 commits into
infiniflow:mainfrom
JinHai-CN:fix366

Conversation

@JinHai-CN

Copy link
Copy Markdown
Member

What problem does this PR solve?

Now user can use 'think mode' to chat with LLM

Type of change

  • New Feature (non-breaking change which adds functionality)

@JinHai-CN JinHai-CN added the ci Continue Integration label Apr 3, 2026
@JinHai-CN
JinHai-CN marked this pull request as ready for review April 3, 2026 08:45
@dosubot dosubot Bot added the size:XL This PR changes 500-999 lines, ignoring generated files. label Apr 3, 2026
@codecov

codecov Bot commented Apr 3, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 96.52%. Comparing base (35b2a71) to head (1353ce7).
⚠️ Report is 2 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main   #13922   +/-   ##
=======================================
  Coverage   96.52%   96.52%           
=======================================
  Files          10       10           
  Lines         690      690           
  Branches      108      108           
=======================================
  Hits          666      666           
  Misses          8        8           
  Partials       16       16           

☔ 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.

@JinHai-CN
JinHai-CN merged commit 6d9430a into infiniflow:main Apr 3, 2026
1 check passed
JasleenKaurSethi pushed a commit to stackhpc/ragflow that referenced this pull request Apr 28, 2026
### What problem does this PR solve?

Now user can use 'think mode' to chat with LLM

### Type of change

- [x] New Feature (non-breaking change which adds functionality)

---------

Signed-off-by: Jin Hai <[email protected]>
RerankerGuo added a commit to RerankerGuo/ragflow that referenced this pull request Nov 23, 2026
…ackfill

Review follow-ups on infiniflow#22424:

- The backfill copies tenant_llm.api_key — TEXT, so a legacy key can exceed
  the new varchar(4096) bound on tenant_model_instance — into the bounded
  column. In strict mode one over-length key failed the whole backfill
  transaction and, with the source row kept, would fail every later startup;
  a non-strict session stored the credential silently truncated. Such rows
  are now skipped with a warning naming tenant, provider and key length
  (never the key itself); the source row stays in tenant_llm untouched.
  The bound is measured in characters, matching MySQL's varchar semantics.
- The convergence test now counts ALTER statements through a gorm raw
  callback: sqlmock rejects unregistered statements but ExpectationsWereMet
  does not report unexpected calls, so a regressed convergence guard could
  previously pass unnoticed.
- Comment nits from the maintainer review: the legacy unique index was
  introduced in infiniflow#13922, not infiniflow#14423, and the entity comment cites this PR
  (infiniflow#22424), not infiniflow#22422.

CGO_ENABLED=0 go test -count=1 ./internal/dao/ ./internal/entity/ ok
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci Continue Integration size:XL This PR changes 500-999 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant