Stephen Zhou
24847366e1
Merge remote-tracking branch 'origin/main' into deploy/konwledge
...
# Conflicts:
# api/app_factory.py
# api/controllers/console/workspace/workspace.py
# api/services/agent/observability_service.py
# api/tests/unit_tests/core/rag/docstore/test_dataset_docstore.py
# api/tests/unit_tests/core/rag/embedding/test_token_counter.py
# api/tests/unit_tests/core/rag/indexing/test_indexing_runner.py
# api/tests/unit_tests/services/agent/test_agent_observability_service.py
2026-08-06 10:46:15 +08:00
Asuka Minato
ac0c909d11
test: use real ORM models in RAG indexing tests ( #40017 )
2026-08-05 10:03:23 +00:00
Stephen Zhou
d2b58f8636
Merge remote-tracking branch 'origin/main' into deploy/konwledge
...
# Conflicts:
# web/features/new-rag/new-knowledge-list.tsx
2026-08-04 19:36:24 +08:00
Asuka Minato
482ec5e712
test: use sqlite3 session in test_qa_index_processor ( #38765 )
2026-08-04 10:53:55 +00:00
Stephen Zhou
c7e4cb0c29
Merge remote-tracking branch 'origin/main' into deploy/konwledge
...
# Conflicts:
# api/tests/unit_tests/extensions/test_ext_login.py
# web/app/components/main-nav/__tests__/index.spec.tsx
2026-08-03 11:10:06 +08:00
Chester
97e9d8be5a
fix(rag): add bounded timeout to Notion extractor requests ( #39833 )
2026-07-31 13:41:44 +00:00
Chester
074811106d
fix(rag): add bounded timeout to Firecrawl extractor requests ( #39831 )
2026-07-31 13:41:19 +00:00
Asuka Minato
5800338911
test: use SQLite sessions in core rag ( #39055 )
2026-07-31 12:52:42 +00:00
Stephen Zhou
5b939067e1
Merge remote-tracking branch 'origin/main' into deploy/konwledge
...
# Conflicts:
# api/tests/unit_tests/services/test_app_dsl_service.py
# web/features/new-rag/__tests__/new-knowledge-list.spec.tsx
2026-07-31 14:28:03 +08:00
Asuka Minato
3453fdce44
test: use SQLite sessions in core rag ( #39092 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-07-30 03:04:18 +00:00
Stephen Zhou
360fa45b3e
Merge remote-tracking branch 'origin/main' into deploy/konwledge
2026-07-29 17:42:53 +08:00
Asuka Minato
0290c8d525
test: use SQLite sessions in core rag ( #39106 )
2026-07-29 05:52:45 +00:00
Jyong
6eed85af89
Merge branch 'main' into deploy/konwledge
...
# Conflicts:
# api/tests/test_containers_integration_tests/services/test_workspace_service.py
# api/tests/unit_tests/controllers/web/test_web_login.py
# api/tests/unit_tests/libs/test_helper.py
2026-07-28 03:25:30 -04:00
Asuka Minato
63f072ebfb
test: use SQLite sessions in core rag ( #39105 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-07-28 05:47:22 +00:00
Asuka Minato
c9c057fd04
test: use SQLite sessions in rag retrieval ( #39049 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Byron.wang <byron@dify.ai>
2026-07-27 09:12:30 +00:00
Stephen Zhou
28c2b6ee95
Merge remote-tracking branch 'origin/main' into deploy/konwledge
...
# Conflicts:
# api/controllers/console/auth/login.py
# api/controllers/console/feature.py
# api/controllers/web/site.py
# api/openapi/markdown/console-openapi.md
# api/openapi/markdown/web-openapi.md
# api/services/feature_service.py
# api/tests/test_containers_integration_tests/services/test_account_service.py
# api/tests/test_containers_integration_tests/services/test_feature_service.py
# api/tests/unit_tests/controllers/console/auth/test_email_verification.py
# api/tests/unit_tests/controllers/console/auth/test_login_logout.py
# api/tests/unit_tests/controllers/web/test_site.py
# api/tests/unit_tests/services/test_recommended_app_service.py
2026-07-27 13:16:01 +08:00
CYJ1226
e4e99d198b
fix: preserve spaces during recursive text splitting ( #39498 )
2026-07-27 03:21:26 +00:00
Madan kumar
aeda37db68
fix(rag): stop the document cleaner from stripping valid characters ï, ¿, ¾ ( #39215 )
2026-07-27 02:53:33 +00:00
wangxiaolei
db29caff2b
feat: knowledge add more trace ( #38959 )
2026-07-24 02:27:16 +00:00
Byron.wang
43254c1ded
chore: avoid duplicate token counting during dataset indexing ( #39466 )
2026-07-23 10:56:03 +00:00
Asuka Minato
852169d99c
test: use SQLite sessions in unit misc ( #39118 )
2026-07-21 07:27:13 +00:00
落尘
f8754286ec
fix(watercrawl): handle non-json error responses ( #37514 )
2026-07-21 06:41:06 +00:00
WH-2099
6a511da325
fix(api): bind scoped lookups to nested owner refs ( #38470 )
2026-07-15 09:31:09 +00:00
Byron.wang
ab3e4daa95
refactor: explicit DB session propagation across backend paths ( #38559 )
...
Co-authored-by: WH-2099 <wh2099@pm.me>
2026-07-15 06:48:28 +00:00
Asuka Minato
213b28f17b
test: use sqlite3 session in test_retrieval_attachment_access ( #38766 )
2026-07-13 07:27:15 +00:00
Asuka Minato
68d8328b9c
chore: clean Db session from service ( #38227 )
...
Co-authored-by: chariri <w@chariri.moe>
Co-authored-by: WH-2099 <wh2099@pm.me>
2026-07-08 03:07:27 +00:00
yyh
1b3e8e9943
chore(agent-v2): sync daily changes ( #38298 )
...
Signed-off-by: yyh <yuanyouhuilyz@gmail.com>
Co-authored-by: 盐粒 Yanli <mail@yanli.one>
Co-authored-by: Joel <iamjoel007@gmail.com>
Co-authored-by: zyssyz123 <916125788@qq.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: 盐粒 Yanli <yanli@dify.ai>
Co-authored-by: 林玮 (Jade Lin) <linw1995@icloud.com>
2026-07-05 08:09:38 +00:00
Byron.wang
2f0c6c10bd
refactor: thread explicit sessions through app retrieval paths ( #38309 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-07-02 17:00:47 +00:00
linhongkuan
d8f3be4bcd
fix(api): isolate side-effect database writes ( #37895 )
...
Co-authored-by: FFXN <31929997+FFXN@users.noreply.github.com>
2026-06-29 06:20:34 +00:00
Asuka Minato
347b02d318
chore: rm all mock_logger ( #37786 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-06-24 07:10:02 +00:00
Yufeng He
265dc54c51
fix(watercrawl): don't disable request timeouts with timeout=None ( #37685 )
...
Signed-off-by: Yufeng He <40085740+he-yufeng@users.noreply.github.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-06-22 03:08:58 +00:00
frank
44464c8c63
test: replace patch logger with caplog in core/rag tests ( #37468 ) ( #37621 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-06-21 07:30:40 +00:00
落尘
adfd820220
fix(watercrawl): bound client request timeouts ( #37515 )
2026-06-21 00:47:25 +00:00
Asuka Minato
fae607e2fe
chore: add Type to test ( #37191 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-06-19 16:44:20 +00:00
Asuka Minato
bd15b8e6ce
chore: add more type in test ( #37609 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-06-18 23:07:12 +00:00
Asuka Minato
e4500d2b9d
chore: Caplog type ( #37603 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-06-18 18:53:13 +00:00
盐粒 Yanli
0ea0647dd0
feat(agent): wire knowledge base retrieval into runtime ( #37577 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-06-17 09:27:38 +00:00
Evan
8ca8b3d59a
refactor: replace mock.patch logger with pytest caplog in tests ( #37560 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-06-17 02:22:39 +00:00
落尘
431d6bb983
fix(watercrawl): accept content type parameters ( #37500 )
2026-06-16 08:16:24 +00:00
落尘
fe64c5d4a8
fix(watercrawl): bound result download timeout ( #37495 )
2026-06-16 08:16:16 +00:00
Asuka Minato
de2ec990d8
chore: example to color the session ( #37402 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-06-15 18:06:24 +00:00
chariri
b61d39ae2b
chore(api): Fix several typing errors ( #37237 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-06-12 01:36:48 +00:00
Eric Cao
0239b81cca
chore(api): convert MessagesCleanPolicy from ABC to Protocol ( #37171 )
...
Co-authored-by: Asuka Minato <i@asukaminato.eu.org>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-06-08 09:55:52 +00:00
Asuka Minato
f15a8f02ef
ci: add flag for linter ( #37018 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-06-08 04:53:12 +00:00
呆萌闷油瓶
813bfea730
feat(api): support embedded Excel images in knowledge import ( #37104 )
2026-06-08 01:26:07 +00:00
-LAN-
71ffaacb58
fix(api): centralize remote file retrieval ( #36399 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-06-01 09:25:08 +00:00
非法操作
fbfb4b3a00
chore: use dify_config.BILLING_ENABLED ( #36619 )
2026-05-25 09:41:01 +00:00
-LAN-
34a89416f7
test(api): manage backend pytest services natively ( #36235 )
2026-05-19 07:52:15 +00:00
-LAN-
0d500e6965
fix(api): allow LLM nodes to access retrieved knowledge files ( #36175 )
2026-05-14 13:09:25 +00:00
FFXN
f720a3bed2
fix: Image rendering in the knowledge base failed. ( #35914 )
...
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
2026-05-09 10:06:01 +00:00