Commit Graph
386 Commits
Author SHA1 Message Date
qinling0210 aa78e8d224 Remove internal cli 'insert chunks from file' and 'insert metadata from file' (#19591) 2026-09-14 14:23:04 +08:00
coderdailyoneandcoderdailyone 7371255eda fix(api): authorize the dataset document download route by tenant in the Go API (#19543)
Fix #19542 — Go document download now checks caller access (datasetService.Accessible); previously any logged-in user could download any tenant's document. Returns same "not found" envelope to avoid leaking existence. 

Co-authored-by: coderdailyone <codecookie@proton.me>
2026-09-14 10:30:13 +08:00
euvre b19a10fb70 fix(wiki): version history always empty on Go API due to page-slug key mismatch (#19305) 2026-09-13 15:50:37 +08:00
Yingfeng 1f5d33333a Add claim/evidence to tree/pageindex compilation pipeline (#19267) 2026-09-11 22:37:33 +08:00
buua436 6051b2150f refa: remove Go artifact deletion APIs (#19519) 2026-09-11 16:08:00 +08:00
taek105 4ad809634f fix(document): validate immutable fields on update (#19444)
Fix #16831 — Go document endpoints now reject changes to ingestion-managed fields (progress, chunk_num, token_num, etc.), including zero-valued. PUT now persists name only, not full record.
2026-09-11 12:39:19 +08:00
xu jiaming 3dab5db315 fix(mcp): send rerank_candidates_count so retrieval paging works past 64 results (#19018)
Fix #19017 — MCP retrieval now sends rerank_candidates_count = max(64, page * page_size), fixing paging past 64 results.
2026-09-10 20:12:43 +08:00
buua436 e9a6397ab8 fix: support keyword search for dataset structure graphs (#19473) 2026-09-10 17:29:06 +08:00
euvre 7090ca834b fix(go): stop masking document preview failures as "document not found" and add tenant access check (#19348) 2026-09-10 16:56:32 +08:00
Sbaaoui Idriss 11f4d11920 fix(agent): preserve Starter values beside query inputs (#19420) 2026-09-10 10:16:32 +08:00
euvre f4b0478444 fix(dataset): honor keywords filter in Go wiki artifact list APIs (#19310) 2026-09-09 11:11:20 +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
buua436 afb01aa887 fix: filter chunks by requested IDs (#19377) 2026-09-09 10:00:24 +08:00
MarMar Labs 6c280f10a0 fix(api): accept repeated memory_type and tenant_id filters when listing memories (#19281)
Fix GET /api/v1/memories list filters — memory_type, tenant_id, owner_ids, ids now read all repeated query keys (was only first). Matches /datasets//documents pattern.
2026-09-08 11:48:16 +08:00
Wang Qi b7e577ce48 Refactor: combine 3 retrieval/search API as one (#19303) 2026-09-08 11:41:46 +08:00
Wang Qi f8b0a1de19 Refactor: update dataset API should not have ext (#19272) 2026-09-07 14:25:15 +08:00
euvre 60fcf20c89 fix(agent): wire document service so dataflow rerun works instead of 500ing (#19094) 2026-09-04 10:02:08 +08:00
jay77721 471dd91e43 feat(ingestion): surface queued document task status (#19137) 2026-09-03 12:05:41 +08:00
Sbaaoui Idriss 89a43f6872 fix(file): classify ancestry authorization failures as data errors (#19157) 2026-09-03 10:05:05 +08:00
MarMar Labs ec9271337d fix(dify): return the custom document metadata the handler already fetches (#19123)
Fix Go Dify retrieval dropping custom metadata — restore merge loop that was lost in #16983 merge resolution. Now SearchMetadataByKBs results are actually applied.
2026-09-02 19:19:02 +08:00
xu jiaming c187dfdc73 fix(mcp): read total_datasets so the fetch-all early-exit works (#19020)
Fix #19019 — MCP _fetch_all_datasets() used wrong total key (total vs total_datasets), causing extra empty-page requests. Now reads total_datasets with fallback.
2026-09-02 19:05:50 +08:00
mkaaad a36865c09b refactor(go-syncer): route GetConnector access errors through helper (#19146)
#15265
2026-09-02 16:41:33 +08:00
MarMar Labs 4841fef5e6 fix(test): expect the bare attachment disposition the download path emits (#19132)
Fix test
2026-09-02 13:42:24 +08:00
Guofang.Tang 09586c5ddb fix(agent): finalize interrupted webhook traces (#19089) 2026-09-01 16:12:21 +08:00
Guofang.Tang 8cbe55c896 fix(agent): prevent concurrent webhook trace overwrites (#19026) 2026-09-01 13:38:39 +08:00
Jin Hai 638bb13e06 Go: refactor (#19084)
Signed-off-by: Jin Hai <haijin.chn@gmail.com>
2026-09-01 12:34:08 +08:00
Guofang.Tang d45008090f fix(agent): persist webhook traces as JSON objects (#18883) 2026-08-29 23:45:39 +08:00
Sbaaoui Idriss 9efdfb2c24 fix(agent): reject fractional integer DSL parameters (#18964) 2026-08-28 15:20:19 +08:00
天海蒼灆andCursor 9ca62e8da3 fix: include filename in file download Content-Disposition header (#17105)
### Summary

GET /api/v1/files/{id} now sets attachment filename for both Python and
Go handlers so browsers can save downloads with the correct name.

---------

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-28 14:42:04 +08:00
Guofang.Tang 1cc2761f6d fix(agent): implement webhook trace polling (#18815) 2026-08-27 15:04:55 +08:00
Wang Qi ba625dc52b Refactor: refine error messages - use %W (#18834) 2026-08-27 11:21:17 +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
Guofang.Tang 5827620a61 fix(agent): propagate webhook terminal states (#18758) 2026-08-26 15:32:21 +08:00
Lem0nTea2002 a940dad39f fix(chat): propagate mind map stream failures (#18733) 2026-08-25 19:34:40 +08:00
Wang Qi 158d672c5e Porting #18737 to go (#18745)
Porting #18737 to go
Test: passed.
2026-08-25 18:58:34 +08:00
Guofang.Tang 80f74216d8 fix(agent): redact internal terminal errors (#18743) 2026-08-25 17:46:51 +08:00
Wang Qi 4c6f745c1e Refactor: rename prefetch_size to rerank_candidates (#18718) 2026-08-25 11:35:53 +08:00
He Wang 2ef9d373ee feat(bedrock): support API key authentication (#18301)
### Summary

Closes #17848.

This replaces #17958 with a smaller implementation focused on the
original requirement. The previous PR gradually expanded beyond the
necessary scope; the optional custom endpoint extension is intentionally
excluded from this version.

- Add request-scoped Bedrock API key authentication to the Python
Bedrock adapters and Go chat runtime.
- Discover and persist models available to API key instances, so users
do not need to manually enter the model type, model name, or maximum
token count.
- Add API Key mode to the existing Bedrock settings UI and refresh the
model and default-model lists after instance changes.
- Preserve selected models during credential-only updates while keeping
the existing SigV4 authentication modes unchanged.
- Return a clear error for unsupported API-key reranking.
- Document instance-scoped authentication and short-term API key
guidance.
2026-08-25 11:08:24 +08:00
Guofang.Tang da68cad1a0 fix(agent): surface cancellation terminal state (#18579)
Follow up on #18316 by preserving cancellation as a terminal state in the Go Agent OpenAI-compatible response path. Previously, a cancelled run closed the event channel without an event, so the adapter could return an empty successful completion or finish a stream with stop.
2026-08-25 10:59:29 +08:00
Wang Qi cc7d99e288 Fix: porting #18300 to go (#18690) 2026-08-24 19:00:27 +08:00
buua436 f37b6fc439 fix: account for checkpointed ingestion progress (#18667)
Preserve completed component progress when an ingestion task resumes from a checkpoint. Checkpointed operators are skipped and do not emit lifecycle events again, which previously caused the document progress to
remain below 100%.
2026-08-24 14:28:05 +08:00
Lynn 141bcff471 Fix(go): use llm setting for AI summary and return raw error msg (#18615) 2026-08-21 19:23:59 +08:00
Haruko386 58edf69f1a optimize[syncer]: optimize returning error when it occur (#18613)
### Summary

As title
2026-08-21 16:50:29 +08:00
Haruko386andcoderabbitai[bot] 8ac8ca71da feat[provider]: apply model_type infer when model has no type (#18593)
### Summary

As title.

---------

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
2026-08-21 16:46:15 +08:00
euvre 4fa895666b fix: implement Tongyi-Qianwen TTS via DashScope native endpoint (#17924) 2026-08-21 10:12:50 +08:00
Guofang.Tang 4304a3b7c6 feat(agent): support OpenAI-compatible responses (#18316)
### Summary

Complete the Go Agent OpenAI-compatible response path for `POST
/api/v1/agents/chat/completions` when `openai-compatible` is true. This
endpoint is already documented and routed, but the Go implementation
returned a placeholder response instead of executing the Agent.
2026-08-20 19:13:38 +08:00
Jack 84bed4dec5 refactor(chunker): replace QAChunker/PresentationChunker with PairChunker/PageChunker, drop TagChunker (#18523) 2026-08-20 11:53:00 +08:00
Haruko386 86ecdd8588 fix: chat did not pass model config to provider (#18485)
### Summary

As title
2026-08-19 18:43:15 +08:00
Lynn 993e84106b Fix: not use connect check result as model verify result (#18492) 2026-08-19 15:15:04 +08:00
mkaaad b46180fa2c Fix: connector validation error (#18489)
surface connector validation error detail so test connect can return
detail error
2026-08-19 14:20:18 +08:00