Commit Graph

8740 Commits

Author SHA1 Message Date
Wang Qi
6c51394013 Update None to Naive (Follow English) (#18848) 2026-08-27 14:05:53 +08:00
Yash Raj Pandey
9b71a7ac5f Fix QA Excel parser dropping rows whose answer is a zero value (#17902) 2026-08-27 14:04:12 +08:00
mkaaad
73cdb81bde Feat: sync anchor resume (#18795)
## Summary

Make checkpoint resume a crash-recovery fallback: if the saved anchor is
missing, malformed, stale, or no longer present in the current source
listing, the connector returns `ErrSyncResumeInvalid` and the runner
restarts the same fixed sync window from the beginning.
2026-08-27 13:48:20 +08:00
balibabu
20c92b4138 Fix: On the MCP list page, if the only record on the last page is deleted, the view should navigate to the previous page. (#18840) 2026-08-27 13:05:50 +08:00
Wang Qi
edd3caa4cb Refine entrypoint.sh - tidy code (#18838) 2026-08-27 13:04:36 +08:00
Yash Raj Pandey
48c6c54451 Fix the naive parser treating an empty upload as a missing binary (#18826)
Fix 0-byte upload handling in naive.py. Six sites used if not binary (falsy check) causing b"" to fall back to opening filename (display name, not path). Now uses binary is None. 

---------

Signed-off-by: Yash Raj Pandey <yashpn62@gmail.com>
2026-08-27 12:18:18 +08:00
MarMar Labs
a6fdf26c37 fix(examples): wait for the DONE status the API actually returns (#18827)
Fix SDK examples polling status "1" which the API never returns — it returns mapped names like "DONE". Both loops timed out even on success. Now checks "DONE". The SDK already does this correctly. Failed parsing still times out (pre-existing).
2026-08-27 11:51:18 +08:00
euvre
5756ec49d2 fix(chunker): keep PDF positions on all cap-split sub-chunks so chunks don't lose their preview images (#18772) 2026-08-27 11:26:49 +08:00
MarMar Labs
5b161b205c fix(schema-sync): stop reporting BaseModel timestamps as dropped columns (#18824)
Fix false db_schema_sync.py detection reporting timestamp columns as removed. skip_fields only skipped "id" but callers stripped all five timestamps. Now skips all five. Without this, --drop would generate destructive migrations dropping these columns from every table.
2026-08-27 11:24:40 +08:00
xugangqiang
9c4c7d0ad4 fix(pdf): remove unused context import breaking manual test build (#18837) 2026-08-27 11:22:07 +08:00
Wang Qi
ba625dc52b Refactor: refine error messages - use %W (#18834) 2026-08-27 11:21:17 +08:00
balibabu
0f08bf1d16 Fix: An error occurs when accessing the Go version of the wiki page. (#18835) 2026-08-27 11:15:10 +08:00
MarMar Labs
3175d465cd docs(configuration): name the ragflow serving-port key http_port (#18825)
### Summary

Both configuration guides document the API server's port as `port`:

- `docs/administrator/configurations/configurations.md:152`
- `docker/README.md:190`

The key in `docker/service_conf.yaml.template:5` is `http_port`
2026-08-27 11:06:12 +08:00
Damonzzz
92863f9456 fix: align cross-language prompt separator with parser (#18831)
### Summary

The cross-language system prompt instructs the LLM to separate
translations with `###`, while both the Python and Go implementations
parse the response using `===`.
2026-08-27 11:04:22 +08:00
Taranum Wasu
779c49bc81 fix(graph): use max-wins for PageRank in AnalyzeNHopPaths + correct test fixtures (#15695) (#18784) 2026-08-27 10:37:59 +08:00
Wang Qi
5bed4dc8e3 Better enhance message (#18818) 2026-08-27 10:31:44 +08:00
jay77721
0947a87c76 fix(parser): align image output_format to json and use per-family defaults (strict) (#18802) 2026-08-27 10:05:10 +08:00
xugangqiang
1935958813 fix(document): reject config edits while document is parsing or scheduled (#18804) 2026-08-27 10:01:00 +08:00
xugangqiang
d82ab2eced fix(pdf): do not cross-page merge tables whose anchor is not at page bottom (#18789) dev-20260827 2026-08-27 09:55:59 +08:00
buua436
82e363919d feat: extract images from xlsx parser (#18800) 2026-08-27 09:54:31 +08:00
Jin Hai
6c2bca893c Go: fix context, part3 (#18821)
Signed-off-by: Jin Hai <haijin.chn@gmail.com>
2026-08-26 22:33:10 +08:00
MarMar Labs
da4a62b027 fix(tests): let run_tests.py --help exit 0 (#18814)
Fix run_tests.py --help returning exit code 1. Now propagates argparse's SystemExit directly — --help returns 0, bad args return 2. Successful paths unchanged.
2026-08-26 21:13:01 +08:00
MarMar Labs
dec9b2e316 fix(build): keep the admin server in build.sh's cleanup trap (#18816)
Fix trap overwrite in build.sh --run where the ingestor cleanup trap replaced the admin one, leaving admin server running on port 9383. Combined both PIDs into a single trap covering both processes. Empty PID case handled.
2026-08-26 21:08:51 +08:00
MarMar Labs
d3d37c6c35 fix(go): drop the removed internal/cache package from run_go_tests.sh (#18819) 2026-08-26 20:51:55 +08:00
Wang Qi
68b893cd1a Refactor: Add rerank_candidates_count, knn top_k and num_candidates to /api/v1/retrieval (#18768) 2026-08-26 20:38:19 +08:00
balibabu
043232ebe2 Feat: When there are errors in the chat settings form, clicking the "Save" button automatically scrolls to the location of the error. (#18811) 2026-08-26 20:29:52 +08:00
Sbaaoui Idriss
895bcc591a Chore: remove knowledge compiler from types and tests (#18809) 2026-08-26 20:22:05 +08:00
chanx
e9d7aed994 fix(web): list the agent flow type card first (#18808) 2026-08-26 20:13:56 +08:00
Aeovy
5b3a66fd8c fix(mineru): Fix MinerU Rendering Stability, Error Visibility, and Code Block Parsing Issues (#18617) 2026-08-26 20:12:41 +08:00
Lem0nTea2002
445e1956d4 fix(chat): preserve deep-research cancellation after workers finish (#18692)
Fix Deep Research cancellation race where partial results could return nil error if workers finished as request canceled. Now waits for workers first, then checks context error. Deterministic propagation.
2026-08-26 20:05:16 +08:00
Wang Qi
608ee09f0f Fix 0 chunk datasets not show, cause cannot scroll to fetch more datasets (#18810) 2026-08-26 20:05:00 +08:00
Taranum Wasu
28ce77fe5f refactor(parser): extract shared parseWithTCADP core from pptx/xls/pdf wrappers (#17671) 2026-08-26 19:30:19 +08:00
陈志谦
fdf937177d fix(security): authenticate sandbox executor API and isolate container network (#18703)
Fix sandbox security gaps: (1) add token auth + rate limiter to POST /run, bind port to localhost; (2) default containers to --network none. Backward compatible. Tests pass, docs updated.

---------

Co-authored-by: jindou <jindou@local>
2026-08-26 19:26:28 +08:00
balibabu
2c19fae8f4 Fix: The chat network search service is allowed to be null. (#18791) 2026-08-26 19:17:52 +08:00
chanx
9bc12fbce6 fix(web): use a dedicated label for the thinking mode field (#18806) 2026-08-26 19:17:17 +08:00
WOLIKIMCHENG
8a7c4226ce fix(sdk): filter documents by multiple IDs (#18790)
### Summary

Fix `DataSet.list_documents(ids=[...])` by passing the ID list through
the request parameter mapping, which serializes it as repeated `ids`
query parameters.

This preserves existing behavior for `ids=[]` as an unfiltered request
and for combining `id` with non-empty `ids`, which raises `ValueError`.
Add regression coverage for all three cases.

Co-authored-by: root <kinsonnee@gmail.com>
2026-08-26 18:58:09 +08:00
Souravrajvi0
229503bc80 fix(web): skip canvas autosave of empty nodes/edges (#18783)
Fix canvas autosave wiping pipelines (#18771). Previously saved empty graph on any change/remount. Now only autosaves when canvas has nodes/edges, agent is loaded, and chat drawer closed. Fetch no longer clears loaded canvas on empty DSL. Tests added.

Fixes #18771
2026-08-26 17:13:14 +08:00
Burak Bayır
0201c1a557 feat(data-source): add Xquik X search connector (#18714)
### Summary

Add Xquik as a new data source for X (Twitter) post ingestion. Supports Latest/Top queries, cursor pagination, incremental sync, and maps engagement/media to RAGFlow documents. Stops duplicate requests on repeated cursors. Tests and docs included.

---------

Co-authored-by: kriptoburak <kriptoburak@users.noreply.github.com>
2026-08-26 17:03:38 +08:00
S
f6fd4127df fix(docker): prevent all foreground entrypoint.sh loops from exiting on non-zero exit (#18545)
## Summary

Fix entrypoint.sh restart loops where non-zero exits would terminate the subshell instead of retrying (root cause of #18542). Now wraps each binary with set +e / set -e to capture exit status and log it before restarting. Applied to 6 loops. Complementary to #17196.

Co-authored-by: skbs-eng <skbs-eng@users.noreply.github.com>
2026-08-26 17:03:01 +08:00
Sbaaoui Idriss
955abf6034 fix(model-provider): resolve instances by persisted ID (#18792)
### Summary

Provider settings were saved correctly, but reopening them requested the
instance by ID while the running backend could only find it by name.
The fix makes provider instance reads honor the saved ID, so
configurations load correctly after reopening.
2026-08-26 17:00:42 +08:00
euvre
6f30ed2bae fix(web): cap embed dialog User ID input length and add data-type hint (#18773) 2026-08-26 16:47:50 +08:00
buua436
f5274d784f fix: accept empty ASR verification results (#18788) 2026-08-26 16:21:03 +08:00
Aari
775ffb7836 fix(opensearch): scope multi-document update to the target knowledge base (#17048)
Fix OpenSearch update missing kb_id scope. Unlike Elasticsearch, OSConnection.update dropped the knowledgebaseId argument, causing updates (like clearing pagerank) to apply to all datasets in a tenant. Now adds kb_id to the query condition.
2026-08-26 15:59:42 +08:00
Anupam Mediratta
d0986424ee fix: the bigquery connector constructs sql queries u... in... (#17500)
Fix high-severity SQL injection in BigQuery connector. User-supplied identifiers (project_id, dataset_id, table_id, timestamp_column, query) were f-string interpolated into SQL.
2026-08-26 15:55:52 +08:00
jay77721
88e5a8b0ec fix(parser): support webp in image OCR and correct rune count for VLM gate (#18785) 2026-08-26 15:49:29 +08:00
jay77721
959c8e8b4a refactor(parser): consolidate vision figure enhancement across document formats (#18775) 2026-08-26 15:48:01 +08:00
Taranum Wasu
f98a5383f3 fix(naive): route misconfigured MinerU PDFs to by_mineru instead of by_plaintext (#17114) (#18762) 2026-08-26 15:45:16 +08:00
天海蒼灆
bed9cc5a4f fix: inherit document status when inserting chunks (#18610) 2026-08-26 15:41:53 +08:00
Yash Raj Pandey
16642140fe Fix: find_codec discards confident encoding detection and returns a garbage codec (#15793) 2026-08-26 15:39:36 +08:00
buua436
9fdcc02c5f fix: allow empty GitHub repositories (#18776) 2026-08-26 15:33:19 +08:00