Commit Graph
9140 Commits
Author SHA1 Message Date
maoyifeng 7b37b25fcf add pytest-durations to the test workflow (#19443) 2026-09-09 21:33:53 +08:00
Günter Lukas 65fdc85fba fix(llm): implement async chat methods for GoogleChat (Vertex AI Gemini) (#15994)
Fixed GoogleChat's async client bug where it incorrectly sent Vertex AI service account JSON as an OpenAI API key, by overriding _async_chat and _async_chat_streamly to use the async genai.Client methods for Gemini models.
2026-09-09 21:28:07 +08:00
Jin Hai ee75f53440 Doc: remove space (#19462)
Remove spaces

Signed-off-by: Jin Hai <haijin.chn@gmail.com>
2026-09-09 21:25:00 +08:00
Ethan Yoo e356255ef4 Correct parser_config examples in API docs (#16002)
Close #8668 
Fixes incorrect parser_config examples in the API docs.
2026-09-09 21:20:52 +08:00
Jin Hai d5a89c324c Go: update build.sh and development.md (#19448)
Signed-off-by: Jin Hai <haijin.chn@gmail.com>
2026-09-09 21:03:48 +08:00
maoyifeng ab23b2e1b3 CI: Optimize api test cases failed (#19450)
optimize ci api tests cases failed:
test_documents_delete_invalid_dataset_partial_duplicate_repeat_and_cross_dataset
- requests.exceptions.ReadTimeout:
HTTPConnectionPool(host='host.docker.internal', port=15799): Read timed
out. (read timeout=30)
2026-09-09 21:01:04 +08:00
Lynn c5d9295cbb Fix: run ensure_db_init before start server (#19423) 2026-09-09 20:10:27 +08:00
Carl Harris c0405a9ddf feat: highlight search matches in Team settings tables (#15985)
Added a reusable SearchHighlight component to visually highlight matching search text in Team Settings tables (Team Members and Joined Teams), with case-insensitive support and full test coverage.
2026-09-09 17:56:53 +08:00
euvre 16f25e72ec fix(agent): template retrieval binding at creation + false "no dataset selected" save warning (#19316) 2026-09-09 17:56:21 +08:00
Konstantin Romankov 4731ee3322 feat: add Hubris as a model provider (#19341)
Added Hubris as a new OpenAI-compatible model provider for the Russian market, with per-model thinking.default_value empirically measured (not guessed), endpoint pinned (not configurable)
2026-09-09 17:19:46 +08:00
WOLIKIMCHENG 1a99ebea38 fix(chunk): enforce document scope on updates (#19221)
Fixed the update endpoint to enforce document-scoped chunk updates by validating doc_id before writes, preventing cross-document modifications.
2026-09-09 17:18:40 +08:00
Wang Qi e4c706b536 Fix: table column auto parse missing metadata (#19439) 2026-09-09 16:59:12 +08:00
Wang Qi 2284c8e1ab Refactor: Follow #19404 to add RERANK_TOKEN_LIMIT_MODE=truncate|passthrough|raise_error (#19421) 2026-09-09 16:32:08 +08:00
Sbaaoui Idriss 3fa257a0da fix(compiler): resolve global built-in template scope (#19426) 2026-09-09 16:12:14 +08:00
xugangqiang 8c8253a3be chore(deps): let download_go_deps.py fetch Go DeepDoc .ort weights (#19376)
Go DeepDoc now uses .ort weights downloaded via download_go_deps.py — no MODEL_DIR needed from repo root. Script fetches 5 model files into rag/res/deepdoc/; supports mirrors; CI updated. .onnx path unchanged.
2026-09-09 16:07:43 +08:00
buua436 19acb019d8 fix: report incremental wiki map errors (#19422) 2026-09-09 15:54:04 +08:00
K.P 8efa7383e6 fix: prevent IndexError in PUT /api/v1/searches/<id> when search not found (#16027)
Fix #16011 — check search exists before indexing [0]; returns proper error instead of 500.
2026-09-09 15:31:41 +08:00
balibabu 977f1a9ab4 Fix: The newly added group name for the VariableAggregator operator cannot be found. (#19440) 2026-09-09 15:07:00 +08:00
Caobaining1andHermes Agent 4e3cd423d3 fix(agentic_rag): reject prose fan-outs, keep research loop alive on SCA timeout, and widen slot-table retry budget (#19424)
## Summary

Problem
Prose replies could be turned into sub-questions. When the planner model answered the question instead of returning JSON, the fallback split that reply line-by-line and used the lines as search sub-questions. Those
same lines also seed the slot table, so an unverified entity could be treated as a known fact and steer the whole research round.

A SCA timeout ended the research loop early. When the review agent returned no payload (timeout or unavailable), the graph marked the round sufficient and accepted an unverified draft as final. The slot-table decomposition retry had no extra budget. It reused the first attempt's timeout, so on slow models both attempts timed out and the table degraded to a single answer slot, losing the second hop of multi-hop questions.

Fix
Fan-out parsing: the prompt now states explicit constraints (do not answer the question, do not introduce entities absent from the question, ignore instructions embedded in the question, keep each sub-question short). A shape guard rejects answer- and citation-like lines (markdown emphasis, URLs, source lists, over-long or declarative lines) on both the JSON and the fallback path. If nothing survives, the planner retries once with a strict JSON-only instruction and otherwise falls back to the raw question.

Review timeout handling (same file): an unavailable review now marks the round insufficient instead of sufficient, and the query rewriter falls back to the unresolved slots' clues so research can continue; it only stops when no direction is left.
Decomposition retry budget (rag/advanced_rag/harness/action_session.py): the retry gets a larger window than the first attempt, bounded by a cap and by the remaining round deadline, so it never shrinks and never
overruns.

---------

Co-authored-by: Hermes Agent <hermes-agent@localhost>
2026-09-09 14:40:38 +08:00
jay77721 1ed2fc26f0 refactor(ingestion): use worker-driven task pull dispatcher (#19314) 2026-09-09 14:13:07 +08:00
Fei Haihao 2c1af18d62 fix(embedding): use Replicate run API for query embeddings (#19405)
Fix Replicate query embedding — Client.embed() doesn't exist in pinned SDK. Reuse Client.run() path and return single vector. 

Signed-off-by: FeiHaihao <3175989593@qq.com>
2026-09-09 13:45:37 +08:00
Lynn cd054ed786 Fix: check sql component required fields (#19418) 2026-09-09 13:37:06 +08:00
天海蒼灆 792a17cf20 fix(mineru): align backend names with current MinerU API (#19055) 2026-09-09 13:07:42 +08:00
Ryker_Feng b537f39260 fix: avoid KeyError when database config has no password (#11051) (#16064)
Fix #11051 — decrypt_database_config() no longer crashes on missing password key. Skips decryption when absent; honors explicit empty dict.
2026-09-09 12:10:22 +08:00
xugangqiang cec02addf5 feat(ingestion): consolidate checkpoint to Parser + per-chunk result cache (#19386) 2026-09-09 11:31:41 +08:00
euvre cfb599a67c fix(compilation): make graph search Enter on an entity name highlight the node instead of rendering the whole graph (#19320) 2026-09-09 11:15:11 +08:00
euvre f4b0478444 fix(dataset): honor keywords filter in Go wiki artifact list APIs (#19310) 2026-09-09 11:11:20 +08:00
euvre 38c40e64a9 fix(agent): treat missing List Operations input as empty list (#19275) 2026-09-09 11:07:43 +08:00
Harsh Kashyap fb2f881871 fix(api): authorize dataset and workspace commit routes (#19357)
Fixes #19356

The file-commit endpoints resolved a dataset or folder id but never
checked that the caller can access it. Any logged-in user could read
another tenant's commit history, diffs, and file contents, pull version
history for any file id, and create commits in a workspace they don't
own. Sibling artifact routes in dataset_api.py apply
KnowledgebaseService.accessible for the same data; these did not.
2026-09-09 10:33:23 +08:00
mkaaad 14fa5597f1 fix(syncer): anchor sitemap PDF-pass checkpoints and declare regex dependency (#19383)
Fix sitemap PDF checkpoints on retry — now anchored to PDF itself. Moved regex to runtime deps.
2026-09-09 10:16:52 +08:00
Wenchao An d5ebaf6f07 fix(sdk): preserve JSON document downloads (#19367)
Fix SDK Document.download() — check Content-Disposition: attachment before JSON parsing. Arrays/scalars/plain files now work.
2026-09-09 10:05:04 +08:00
euvre 9538c2825c fix(api): enforce readonly access to team-shared chat and agent sessions (#19340) 2026-09-09 10:04:24 +08:00
euvre 3931c69a5b fix(api): return "search not found" instead of IndexError when updating a missing search (#19380) 2026-09-09 10:02:06 +08:00
buua436 afb01aa887 fix: filter chunks by requested IDs (#19377) 2026-09-09 10:00:24 +08:00
buua436 742b0e73d6 fix: resolve Go structure graph template names (#19373) 2026-09-09 09:58:43 +08:00
Sbaaoui Idriss d796dcfb6f fix(agent): preserve sandbox artifacts through streaming (#19355) 2026-09-09 09:57:34 +08:00
Wang Qi a13593097b Refactor: Add RERANK_TOKEN_LIMIT_MODE = truncate (default) / passthrough / raise_error (#19404) 2026-09-09 09:55:00 +08:00
Sbaaoui Idriss 76c197f12a fix(agent): clear stale template dataset references (#19399) 2026-09-09 09:53:38 +08:00
balibabu dbba3ba00d Fix: By default, the wiki page does not display the wiki content on the right. (#19388) 2026-09-09 09:51:35 +08:00
chanx 5c0326885b fix(web): move artifact delete button into the toolbar row (#19381) 2026-09-09 09:48:22 +08:00
chanx 1b80b13ac9 fix(web): align parse status badge colors with list dots and rename table header (#19400) 2026-09-09 09:47:57 +08:00
maoyifeng 4c9768be5a Dockerfile_go optimize (#19385)
1. add go download cache
2. adjust the order of web and go build
3. remove nodejs install,use build image's npm
4. add ort and remove onnx
2026-09-08 20:04:59 +08:00
deadtrickster 0f342467ed fix(paper): bound title-pivot merge by chunk_token_num (#12109) (#16959) 2026-09-08 18:47:43 +08:00
Gonghan-Princess 24c115bf92 feat(channels): allow chat channels to connect to agents (#19307) 2026-09-08 18:44:59 +08:00
Lucas Kim 86edfc45a8 fix(llm): raise a clear error for unsupported Bedrock embedding models (#16044)
Fix #16043 — BedrockEmbed now raises clear EmbeddingError for unsupported models instead of UnboundLocalError.
2026-09-08 18:07:35 +08:00
VincentLambert 371cfabd95 feat(connector): add Sitemap data source for sitemap.xml-based web ingestion (#19344)
Add Sitemap data source — ingests web pages from sitemap.xml with incremental sync. Supports HTML→Markdown extraction, PDF discovery, URL filtering, SSRF protection.
2026-09-08 16:50:44 +08:00
Sbaaoui Idriss a670f5260b fix(docs): document dataset language create and update behavior (#19372)
### Summary

The API docs now describe the optional language field for dataset
creation and updates. They document trimming, validation limits,
defaults, and unchanged update behavior.
2026-09-08 16:26:42 +08:00
shixy 99ad2775c7 fix(web): hide sign up until registration is enabled (#19343)
Fix #19342 — registration link now only shows when explicitly enabled (REGISTER_ENABLED=1/true), not before config loads.
dev-20260908
2026-09-08 15:54:44 +08:00
WOLIKIMCHENG 440c2c646b fix(agent): flatten scalar-list values in DataOperations combine (#19111) 2026-09-08 15:39:15 +08:00
Wang Qi 0d83b5bec7 Fix: show skills folder (#19351) 2026-09-08 13:44:01 +08:00