Bowen Liang
39064197da
chore: cleanup unnecessary mypy suppressions on imports ( #24712 )
2025-08-28 23:17:25 +08:00
jyong
5b4335c4b5
fix preview run
2025-08-28 22:02:22 +08:00
jyong
39080eed10
fix preview run
2025-08-28 22:01:49 +08:00
Will
c4496e6cf2
chore: use DataFrame.map instead of deprecated DataFrame.applymap ( #24726 )
2025-08-28 21:13:47 +08:00
jyong
1db04aa729
Merge branch 'feat/queue-based-graph-engine' into feat/rag-2
2025-08-28 18:12:49 +08:00
jyong
64772fb413
fix preview run
2025-08-28 18:12:27 +08:00
-LAN-
bfbb36756a
feat(graph_engine): Add NodeExecutionType.ROOT and auto mark skipped in Graph.init
...
Signed-off-by: -LAN- <laipz8200@outlook.com>
2025-08-28 16:41:51 +08:00
-LAN-
d7e0c5f759
chore: use 'XXX | None' instead of Optional[XXX] in graph.py
2025-08-28 15:45:22 +08:00
jyong
a9f7ee029e
fix preview run
2025-08-28 15:39:22 +08:00
-LAN-
c396788128
chore(graph_engine): add final mark to classes
...
Signed-off-by: -LAN- <laipz8200@outlook.com>
2025-08-28 15:38:35 +08:00
湛露先生
5c01dd97e8
clean typos words. ( #24667 )
...
Signed-off-by: zhanluxianshen <zhanluxianshen@163.com>
2025-08-28 15:23:59 +08:00
Eric Guo
ecf74d91e2
✨ fix: has_more logic in ChatMessageListApi to ensure correct on behavior when no more messages are available. ( #24661 )
2025-08-28 15:05:52 +08:00
mr0609
30f2d756a7
fix_trace_config ( #24669 )
...
Co-authored-by: renming <renming@renmingdeMacBook-Air.local>
2025-08-28 13:54:49 +08:00
Charles Zhou
0d745c64d8
chore: bump supabase and pyjwt versions and added tests ( #24681 )
2025-08-28 13:45:56 +08:00
Asuka Minato
4adf85d7d4
example for rm extra cast ( #24646 )
2025-08-28 09:37:39 +08:00
Asuka Minato
7995ff1410
Typing test ( #24651 )
2025-08-28 09:36:39 +08:00
Asuka Minato
d2f234757b
example try rm ignore ( #24649 )
2025-08-28 09:36:16 +08:00
NeatGuyCoding
bf34437186
Feature add test containers workflow service ( #24666 )
2025-08-28 09:31:29 +08:00
Guangdong Liu
47f02eec96
refactor: Migrate part of the web API module to Flask-RESTX ( #24659 )
2025-08-28 09:22:31 +08:00
Guangdong Liu
06dd4d6e00
feat: migrate part of the web chat module to Flask-RESTX ( #24664 )
2025-08-28 09:21:42 +08:00
-LAN-
e3a7b1f691
fix: type hints
...
Signed-off-by: -LAN- <laipz8200@outlook.com>
2025-08-28 05:24:18 +08:00
-LAN-
8aab7f49c3
chore(graph_engine): Use `XXX | None` instead of `Optional[XXX]`
2025-08-28 05:09:33 +08:00
autofix-ci[bot]
1e12c1cbf2
[autofix.ci] apply automated fixes
2025-08-27 21:00:36 +00:00
-LAN-
affedd6ce4
chore(graph_engine): Use `XXX | None` instead of `Optional[XXX]`
2025-08-28 04:59:49 +08:00
-LAN-
ef21097774
refactor(graph_engine): Remove unnecessary check from SkipPropagator
...
Signed-off-by: -LAN- <laipz8200@outlook.com>
2025-08-28 04:45:26 +08:00
-LAN-
1d377fe994
refactor(graph_engine): Use _ to mark unused variable in BranchHandler
...
Signed-off-by: -LAN- <laipz8200@outlook.com>
2025-08-28 04:44:45 +08:00
-LAN-
c82697f267
refactor(graph_engine): Remove `node_id` from SkipPropagator.skip_branch_paths
...
Signed-off-by: -LAN- <laipz8200@outlook.com>
2025-08-28 04:43:56 +08:00
-LAN-
98b25c0bbc
refactor(graph_engine): Convert attrs to private in error_handler
...
Signed-off-by: -LAN- <laipz8200@outlook.com>
2025-08-28 04:42:37 +08:00
-LAN-
1cd0792606
chore(graph_events): Improve type hints
...
Signed-off-by: -LAN- <laipz8200@outlook.com>
2025-08-28 04:41:48 +08:00
-LAN-
7cbf4093f4
chore(graph_engine): Use `TYPE | None` instead of `Optional`
...
Signed-off-by: -LAN- <laipz8200@outlook.com>
2025-08-28 04:30:50 +08:00
-LAN-
8129ca7c05
chore(graph_engine): Move error_strategy.py to protocols/
...
Signed-off-by: -LAN- <laipz8200@outlook.com>
2025-08-28 04:29:32 +08:00
-LAN-
65617f000d
feat(event_collector): Update to use ReadWriteLock
2025-08-28 03:26:42 +08:00
-LAN-
635eff2e25
test(graph_engine): remove outdated tests
...
Signed-off-by: -LAN- <laipz8200@outlook.com>
2025-08-28 02:53:19 +08:00
-LAN-
55085a9ca2
chore(graph_engine): add type hint for event_queue
...
Signed-off-by: -LAN- <laipz8200@outlook.com>
2025-08-28 02:38:56 +08:00
-LAN-
9dc1e9724e
Merge remote-tracking branch 'origin/main' into feat/queue-based-graph-engine
2025-08-28 02:26:40 +08:00
jyong
4403a26f37
merge new graph engine
2025-08-27 20:44:14 +08:00
jyong
88abaa840c
merge new graph engine
2025-08-27 18:33:38 +08:00
Yongtao Huang
bb718acadf
Fix token expiry miscalculation ( #24639 )
2025-08-27 18:19:58 +08:00
Asuka Minato
4cd00efe3b
add more current_user typing ( #24612 )
2025-08-27 18:19:49 +08:00
-LAN-
c3f66e2901
Merge remote-tracking branch 'origin/main' into feat/queue-based-graph-engine
2025-08-27 18:05:35 +08:00
Yongtao Huang
2a29c61041
Refactor: replace count() > 0 check with exists() ( #24583 )
...
Co-authored-by: Yongtao Huang <99629139+hyongtao-db@users.noreply.github.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-08-27 17:46:52 +08:00
jyong
90d72f5ddf
merge new graph engine
2025-08-27 17:46:46 +08:00
jyong
6c8212d509
Merge remote-tracking branch 'origin/feat/rag-2' into feat/rag-2
2025-08-27 17:46:05 +08:00
twwu
ee144452e2
Merge branch 'main' into feat/rag-2
2025-08-27 17:28:21 +08:00
jyong
392514fa13
Merge branch 'feat/queue-based-graph-engine' into feat/rag-2
...
# Conflicts:
# api/commands.py
# api/core/app/apps/common/workflow_response_converter.py
# api/core/llm_generator/llm_generator.py
# api/core/plugin/entities/plugin.py
# api/core/plugin/impl/tool.py
# api/core/rag/index_processor/index_processor_base.py
# api/core/workflow/entities/workflow_execution.py
# api/core/workflow/entities/workflow_node_execution.py
# api/core/workflow/enums.py
# api/core/workflow/graph_engine/entities/graph.py
# api/core/workflow/graph_engine/graph_engine.py
# api/core/workflow/nodes/enums.py
# api/services/dataset_service.py
2025-08-27 16:05:59 +08:00
Guangdong Liu
917ed8cf84
feat: migrate part of the web API module to Flask-RESTX ( #24577 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-08-27 16:05:22 +08:00
autofix-ci[bot]
86e7cb713c
[autofix.ci] apply automated fixes
2025-08-27 07:38:26 +00:00
-LAN-
0f29244459
fix: test
...
Signed-off-by: -LAN- <laipz8200@outlook.com>
2025-08-27 15:37:37 +08:00
autofix-ci[bot]
48cbf4c78f
[autofix.ci] apply automated fixes
2025-08-27 15:33:30 +08:00
-LAN-
8c35663220
feat: queue-based graph engine
...
Signed-off-by: -LAN- <laipz8200@outlook.com>
2025-08-27 15:33:28 +08:00
-LAN-
f04844435f
chore: bump version from 1.7.2 to 1.8.0 ( #24539 )
...
Signed-off-by: -LAN- <laipz8200@outlook.com>
2025-08-27 15:20:10 +08:00
QuantumGhost
421a3284bc
fix(api): fix incorrectly handling of `array[boolean]` constant in loop node ( #24619 )
2025-08-27 15:07:01 +08:00
湛露先生
d4883256f1
Fix login tokens and fix task clean_messages create_time. ( #24574 )
...
Signed-off-by: zhanluxianshen <zhanluxianshen@163.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-08-27 13:32:18 +08:00
Guangdong Liu
372074edba
refactor(http-request): Remove the reflective calls to ssrf_proxy and replace them with explicitly defined dictionary retrievals. ( #24596 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-08-27 13:23:34 +08:00
Yongtao Huang
826f19e968
Chore : rm dead code detected by pylance ( #24588 )
2025-08-27 13:19:40 +08:00
Maries
c06cfcbb5a
fix: tool provider deadlock ( #24532 )
...
Co-authored-by: Wu Tianwei <30284043+WTW0313@users.noreply.github.com>
2025-08-27 12:27:20 +08:00
QuantumGhost
58189ed9a0
chore(api): Use uuidv7 as PK for new provider crendential tables ( #24545 )
2025-08-27 11:22:08 +08:00
-LAN-
726c429772
fix: handle non-array segment types in Loop node ( #24590 )
...
Co-authored-by: QuantumGhost <obelisk.reg+git@gmail.com>
2025-08-27 11:21:42 +08:00
twwu
da48e54778
Merge branch 'main' into feat/rag-2
2025-08-27 11:16:27 +08:00
Asuka Minato
5df3a4eb98
add rule for logging check ( #24553 )
2025-08-27 10:25:06 +08:00
NeatGuyCoding
244ed5e5e3
hotfix: add test containers based tests for workflow run service ( #24602 )
2025-08-27 10:24:34 +08:00
Asuka Minato
d4dba373cb
add missing ( #24584 )
2025-08-27 10:22:24 +08:00
jiangbo721
66e80f9dac
fix: code lint ( #24563 )
2025-08-26 23:35:30 +08:00
Yongtao Huang
b486d72b8e
Chore: remove dead var in `DocumentBatchIndexingEstimateApi` ( #24497 )
...
Co-authored-by: Yongtao Huang <99629139+hyongtao-db@users.noreply.github.com>
2025-08-26 23:33:50 +08:00
Petrus Han
d9e26eba65
fix: rag/milvus clarify full-text search warning with actionable guidance ( #24570 )
2025-08-26 23:32:26 +08:00
Yeuoly
d5e6e38c58
refactor: unify blob chunk merging logic for plugin tool and agent ( #24575 )
...
Co-authored-by: Claude <noreply@anthropic.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-08-26 21:15:23 +08:00
jyong
5c15fe7b01
fix pipeline export
2025-08-26 18:52:24 +08:00
jyong
da9b38f642
pipeline name
2025-08-26 18:26:25 +08:00
Asuka Minato
58165c3951
example on orm typing ( #23322 )
2025-08-26 18:16:58 +08:00
Joel
dac72b078d
feat: support bool type variable frontend ( #24437 )
...
Co-authored-by: QuantumGhost <obelisk.reg+git@gmail.com>
2025-08-26 18:16:05 +08:00
Amy
b5c2756261
fix(api):safe reset in db pool, avoid rollback in gevent callback ( #24556 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-08-26 18:14:06 +08:00
Yongtao Huang
fa753239ad
Refactor: use logger = logging.getLogger(__name__) in logging ( #24515 )
...
Co-authored-by: Yongtao Huang <99629139+hyongtao-db@users.noreply.github.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: crazywoola <100913391+crazywoola@users.noreply.github.com>
2025-08-26 18:10:31 +08:00
kenwoodjw
23a8409e0c
fix: cve issue ( #24555 )
...
Signed-off-by: kenwoodjw <blackxin55+@gmail.com>
2025-08-26 17:53:22 +08:00
jyong
918958743f
Merge remote-tracking branch 'origin/feat/rag-2' into feat/rag-2
2025-08-26 17:18:49 +08:00
jyong
51c3f1b2e2
add pipeline async run
2025-08-26 17:18:43 +08:00
Harry
1f5fd13359
refactor(plugin_migration): improve code readability by formatting the install function signature
2025-08-26 16:03:59 +08:00
Harry
61f2f8fd31
refactor(schemas): update titles in JSON schemas for consistency and clarity
2025-08-26 16:03:59 +08:00
jyong
60fb242f27
Merge remote-tracking branch 'origin/feat/rag-2' into feat/rag-2
2025-08-26 15:52:01 +08:00
jyong
85f0d31fab
add pipeline async run
2025-08-26 15:51:49 +08:00
Bowen Liang
6e674b511a
api: support to config disabling Swagger UI in api service ( #24440 )
2025-08-26 15:48:04 +08:00
Harry
a282b6cea4
refactor(tests): remove unused TestPerformance class from schema resolver tests
2025-08-26 15:47:34 +08:00
Harry
46019ea927
refactor(resolver): enhance schema reference resolution with improved error handling and caching
2025-08-26 15:47:34 +08:00
Harry
7e20273bce
refactor(resolver): implement BFS approach for resolving references in Dify schemas
2025-08-26 15:47:34 +08:00
GuanMu
47f480c0dc
fix: unify log format, use placeholders instead of string concatenation ( #24544 )
2025-08-26 15:45:16 +08:00
kenwoodjw
bfc4fe1a9a
fix infinite loop when clean unused dataset ( #24542 )
...
Signed-off-by: kenwoodjw <blackxin55+@gmail.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-08-26 15:44:52 +08:00
jyong
1d2d0ff49f
add pipeline async run
2025-08-26 15:32:39 +08:00
jyong
c77bdd1fb3
add pipeline async run
2025-08-26 15:20:40 +08:00
huangzhuo1949
98473e9d4f
fix:external dataset weight rerank bug ( #24533 )
...
Co-authored-by: huangzhuo <huangzhuo1@xiaomi.com>
2025-08-26 14:54:40 +08:00
湛露先生
13d3271ec0
code cleans ,and add exception message. ( #24536 )
...
Signed-off-by: zhanluxianshen <zhanluxianshen@163.com>
2025-08-26 14:52:11 +08:00
-LAN-
04954918a5
Merge commit from fork
...
* fix(oraclevector): SQL Injection
Signed-off-by: -LAN- <laipz8200@outlook.com>
* fix(oraclevector): Remove bind variables from FETCH FIRST clause
Oracle doesn't support bind variables in the FETCH FIRST clause.
Fixed by using validated integers directly in the SQL string while
maintaining proper input validation to prevent SQL injection.
- Updated search_by_vector method to use validated top_k directly
- Updated search_by_full_text method to use validated top_k directly
- Adjusted parameter numbering for document_ids_filter placeholders
🤖 Generated with [Claude Code](https://claude.ai/code )
Co-Authored-By: Claude <noreply@anthropic.com>
---------
Signed-off-by: -LAN- <laipz8200@outlook.com>
Co-authored-by: Claude <noreply@anthropic.com>
2025-08-26 13:51:23 +08:00
Eric Guo
eb3a031964
readme and claude.md sync. ( #24495 )
2025-08-26 12:57:26 +08:00
Harry
0f3ca1d8f4
fix: ruff
2025-08-26 12:51:40 +08:00
Harry
d1be9544fb
fix: restful to restx
2025-08-26 12:51:40 +08:00
jyong
1692a7bd1b
Merge remote-tracking branch 'origin/feat/rag-2' into feat/rag-2
2025-08-26 12:06:43 +08:00
jyong
c3c4ef3a8e
add pipeline async run
2025-08-26 12:06:34 +08:00
QuantumGhost
410fe7293f
opt(api): optimize update contention on the providers table ( #24520 )
2025-08-26 11:41:38 +08:00
非法操作
d7869a4d1e
feat: add authorizations for swagger doc ( #24518 )
2025-08-26 11:41:00 +08:00
Harry
c911ac8c01
refactor(console): add spec controller import and enhance tool output schema resolution
2025-08-26 11:07:12 +08:00
-LAN-
cfb8d224da
fix: standardize authentication error messages to prevent user enumeration ( #24324 )
...
Signed-off-by: -LAN- <laipz8200@outlook.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-08-26 09:46:23 +08:00
NeatGuyCoding
c14b498676
hotfix: add test containers based tests for workflow app service ( #24501 )
2025-08-26 09:24:45 +08:00
Yongtao Huang
ac5aed7a45
Fix missing return 200 in response handling ( #24499 )
...
Co-authored-by: Yongtao Huang <99629139+hyongtao-db@users.noreply.github.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-08-26 09:24:18 +08:00
Guangdong Liu
f6cfe80bf5
feat: migrate Inner API module to Flask-RESTX ( #24492 )
2025-08-26 00:23:48 +08:00
Asuka Minato
2b91ba2411
example: limit current user usage ( #24470 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-08-26 00:23:29 +08:00
Asuka Minato
99fec40117
example of remove some reflections ( #24488 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-08-25 23:16:59 +08:00
湛露先生
3df04c7e9a
Fix TypeError: object of type int has no len() ( #24484 )
...
Signed-off-by: zhanluxianshen <zhanluxianshen@163.com>
2025-08-25 19:50:51 +08:00
jyong
1ad7b0e852
add pipeline async run
2025-08-25 18:26:05 +08:00
jiangbo721
1d776c4cd0
feat: If combining text and files, place the text prompt after the fi… ( #24472 )
2025-08-25 17:51:46 +08:00
jyong
f418164648
add pipeline async run
2025-08-25 17:33:49 +08:00
jyong
4fc498bd48
fix
2025-08-25 16:55:08 +08:00
jyong
101d6504fb
fix
2025-08-25 16:14:22 +08:00
非法操作
6010d5f24c
feat: add multi model credentials ( #24451 )
...
Co-authored-by: zxhlyh <jasonapring2015@outlook.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-08-25 16:12:29 +08:00
quicksand
b08bfa203a
fix(flask_restx): invite member email parse error ( #24464 )
2025-08-25 15:50:20 +08:00
twwu
85fd97e090
Merge branch 'main' into feat/rag-2
2025-08-25 15:30:18 +08:00
quicksand
a06681913d
remove: document download file permission ( #24459 )
2025-08-25 15:11:48 +08:00
quicksand
424fdf4b52
fix: flask_restx namespace path wrong ( #24456 )
2025-08-25 14:56:20 +08:00
jyong
cc1f0d4d8d
fix
2025-08-25 13:55:42 +08:00
-LAN-
a9e106b17e
fix: Fix login error handling by raising exception instead of returning ( #24452 )
2025-08-25 13:54:25 +08:00
Muke Wang
044ad5100e
fix: Update doc word count after delete chunks ( #24435 )
...
Co-authored-by: wangmuke <wangmuke@kingsware.cn>
2025-08-25 12:08:34 +08:00
Asuka Minato
3032e6fe59
example for logging ( #24441 )
2025-08-25 11:41:17 +08:00
yihong
4eba2ee92b
docs: better doc for dev in api like Claude.md ( #24442 )
...
Signed-off-by: yihong0618 <zouzou0208@gmail.com>
2025-08-25 11:14:04 +08:00
znn
3aedc139ac
fix delete conversations via Api and delete conversations from db as well ( #23591 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: crazywoola <427733928@qq.com>
Co-authored-by: crazywoola <100913391+crazywoola@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-08-25 09:43:45 +08:00
-LAN-
fe06d266e9
refactor: better error handler ( #24422 )
...
Signed-off-by: -LAN- <laipz8200@outlook.com>
2025-08-25 09:28:42 +08:00
Yongtao Huang
9a18911eba
Fix auth error handling ( #24420 )
...
Signed-off-by: Yongtao Huang <yongtaoh2022@gmail.com>
Co-authored-by: Yongtao Huang <99629139+hyongtao-db@users.noreply.github.com>
2025-08-25 09:28:10 +08:00
-LAN-
8c6e655380
feat: API docs for /files ( #24423 )
...
Signed-off-by: -LAN- <laipz8200@outlook.com>
2025-08-25 09:27:09 +08:00
-LAN-
3075d415e1
feat: API docs for mcp ( #24424 )
...
Signed-off-by: -LAN- <laipz8200@outlook.com>
2025-08-25 09:27:01 +08:00
-LAN-
b7466f8b65
feat: API docs for service api ( #24425 )
...
Signed-off-by: -LAN- <laipz8200@outlook.com>
2025-08-25 09:26:54 +08:00
NeatGuyCoding
846b6bd14e
hotfix: add test containers based tests for website service ( #24430 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-08-25 09:25:50 +08:00
Bowen Liang
d8000251ff
chore: apply static type checks on celery async task dispatches and imports ( #24418 )
2025-08-24 23:07:22 +08:00
NeatGuyCoding
b5159d8c8a
hotfix: add test containers based tests for webapp auth service ( #24397 )
2025-08-24 21:04:39 +08:00
huayaoyue6
23dcb2dc1b
fix(vector): use semantic version comparison for version check ( #24409 )
2025-08-24 21:04:33 +08:00
Matri Qi
f31ddc4b1c
fix(api): restful to restx migration issue ( #24416 )
2025-08-24 20:58:42 +08:00
Asuka Minato
18dce66443
try flask_restful -> flask_restx ( #24310 )
...
Signed-off-by: -LAN- <laipz8200@outlook.com>
Co-authored-by: -LAN- <laipz8200@outlook.com>
2025-08-24 13:45:47 +08:00
Qiang Lee
b84bb4164f
fix : #24292 HTTP Request Node Unable to Access File from Start Node When Using Remote URL in Workflow API Call ( #24293 )
...
Co-authored-by: 李强04 <liqiang04@gaotu.cn>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-08-24 00:32:42 +08:00
Yongtao Huang
1d09708eb7
Fix incorrect exception reference for `json.dumps()` ( #24329 )
...
Co-authored-by: Yongtao Huang <99629139+hyongtao-db@users.noreply.github.com>
2025-08-24 00:31:04 +08:00
kenwoodjw
8a348bea21
fix child-chunk ownership validation ( #24374 )
...
Signed-off-by: kenwoodjw <blackxin55+@gmail.com>
2025-08-23 20:17:44 +08:00
NeatGuyCoding
68576a5d63
feature: add test containers based tests for web conversation service ( #24372 )
2025-08-23 11:03:51 +08:00
-LAN-
2e47558f4b
fix: correct agent node token counting to properly separate prompt and completion tokens ( #24368 )
2025-08-23 11:00:14 +08:00
Davide Delbianco
0a2111f33d
Expose agent node usage ( #24355 )
2025-08-23 10:57:58 +08:00
-LAN-
da9af7b547
[Chore/Refactor] Use centralized naive_utc_now for UTC datetime operations ( #24352 )
...
Signed-off-by: -LAN- <laipz8200@outlook.com>
2025-08-22 23:53:05 +08:00
-LAN-
ad2c541163
Fix missing database commit in provider update handler ( #24357 )
2025-08-22 21:56:36 +08:00
-LAN-
77223e4df4
refactor: simplify repository factory with Django-style import_string ( #24354 )
2025-08-22 21:56:25 +08:00
Asuka Minato
51cc2bf429
example of next(, None) ( #24345 )
2025-08-22 18:32:22 +08:00
twwu
8c44151e6f
Merge branch 'main' into feat/rag-2
2025-08-22 17:40:34 +08:00
AuditAIH
2a43e634e8
Update knowledge_retrieval_node.py ( #24111 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-08-22 16:43:59 +08:00
jiangbo721
805b698c2e
Feat/chat message image first for agent and advanced_chat APP ( #23796 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-08-22 16:42:15 +08:00
Eric Guo
455f842785
Flask 3.1.2 upgrade fix by Avoids using current_user in background thread ( #24290 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-08-22 14:47:13 +08:00
jyong
6b7ea9885c
support name generate
2025-08-22 11:34:01 +08:00
Asuka Minato
c5614d04d2
an example of sessionmaker ( #24246 )
2025-08-22 10:17:50 +08:00
Asuka Minato
1459fded08
Annotations example ( #24304 )
2025-08-22 10:14:17 +08:00
Yongtao Huang
6b466a8469
[Test] add unit tests for web_reader_tool.py ( #24309 )
...
Co-authored-by: Yongtao Huang <99629139+hyongtao-db@users.noreply.github.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-08-22 09:28:00 +08:00
NeatGuyCoding
21c56c3107
feature: add test containers base tests for tag service ( #24313 )
2025-08-22 09:27:51 +08:00
willzhao
5ab6bc283c
[CHORE]: x: T = None to x: Optional[T] = None ( #24217 )
2025-08-21 21:58:39 +08:00
Yongtao Huang
106ab7f2a8
Fix: safe defaults for BaseModel dict fields ( #24098 )
...
Co-authored-by: Yongtao Huang <99629139+hyongtao-db@users.noreply.github.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-08-21 21:38:55 +08:00
jyong
4545f509a5
support name generate
2025-08-21 19:15:16 +08:00
Guangdong Liu
1abf1240b2
refactor: replace try-except blocks with contextlib.suppress for cleaner exception handling ( #24284 )
2025-08-21 18:18:49 +08:00
Yongtao Huang
ad8e82ee1d
[Test] add unit tests for ProviderConfigEncrypter encrypt/mask/decrypt ( #24280 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-08-21 16:05:53 +08:00
me0106
0e1dfb4161
fix: value_type check failed when updating variables ( #24274 )
...
Co-authored-by: me <zhouxi@tellers.cn>
2025-08-21 15:28:07 +08:00
8bitpd
a183b2affb
fix: rollback when AnalyticDB create zhparser failed ( #24260 )
...
Co-authored-by: xiaozeyu <xiaozeyu.xzy@alibaba-inc.com>
2025-08-21 15:00:26 +08:00
Amy
738aaee101
fix(api):Fix the issue of empty and not empty operations failing in k… ( #24276 )
...
Co-authored-by: liumin <min.liu@tongdun.net>
2025-08-21 14:43:08 +08:00
baonudesifeizhai
ea066f891f
fix: loop exit condition accepts variables from nodes inside the loop #24183 : ( #24257 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-08-21 10:19:22 +08:00
Mingming Zhu
34b9fbab48
Mcp support resource discovery ( #24223 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-08-21 09:46:36 +08:00
twwu
dfd33b3d84
Merge branch 'main' into feat/rag-2
2025-08-21 09:43:51 +08:00
NeatGuyCoding
1d7a8d94e0
feature: add test containers base tests for saved message service ( #24259 )
2025-08-21 09:34:49 +08:00
huangzhuo1949
1caeac56f2
fix: dataset doc-form compatible ( #24177 )
...
Co-authored-by: huangzhuo <huangzhuo1@xiaomi.com>
2025-08-20 23:48:56 +08:00
8bitpd
6b1606f4f4
fix: keep idempotent when init AnalyticdbVectorBySql ( #24239 )
...
Co-authored-by: xiaozeyu <xiaozeyu.xzy@alibaba-inc.com>
2025-08-20 23:22:27 +08:00
Asuka Minato
d12255025c
add tyck tool (currently ignore the error) ( #22592 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-08-20 16:40:12 +08:00
Asuka Minato
864872d24e
Httpx example ( #24151 )
2025-08-20 16:39:23 +08:00
Xiyuan Chen
cfefe4f738
Feat: Education ( #24208 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-08-20 15:38:14 +08:00
NeatGuyCoding
870e3daa95
hotfix: fix multiple case match syntax ( #24204 )
2025-08-20 14:45:46 +08:00
yihong
4c1ad40f8e
docs: format all md files ( #24195 )
...
Signed-off-by: yihong0618 <zouzou0208@gmail.com>
2025-08-20 13:49:11 +08:00
Yongtao Huang
52857eb6b3
Fix: replace `get_builtin_provider` with `get_plugin_provider` ( #24191 )
2025-08-20 09:37:25 +08:00
NeatGuyCoding
e6183074f3
feat: add testcontainers based tests for model provider service ( #24193 )
2025-08-20 09:33:09 +08:00
Yongtao Huang
6b5c2bea4d
Fix: correctly match http/https URLs in image upload file ( #24180 )
2025-08-19 22:44:22 +08:00
Yongtao Huang
7c7618c083
Remove the second `if self.runtime is None:` check ( #24171 )
...
Co-authored-by: Yongtao Huang <99629139+hyongtao-db@users.noreply.github.com>
2025-08-19 18:27:30 +08:00
twwu
a1666fe058
Merge branch 'main' into feat/rag-2
2025-08-19 14:59:06 +08:00
Stream
c2606f9062
fix: correct behaviour of code fix ( #24152 )
...
Co-authored-by: Joel <iamjoel007@gmail.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-08-19 14:18:49 +08:00
Asuka Minato
70da81d0e5
try ast-grep ( #24149 )
2025-08-19 13:41:52 +08:00
Harry
fcdbe3b84a
fix: plugin service import
2025-08-19 10:06:27 +08:00
9527MrLi
75199442c1
feat: Implements periodic deletion of workflow run logs that exceed t… ( #23881 )
...
Co-authored-by: shiyun.li973792 <shiyun.li@seres.cn>
Co-authored-by: 1wangshu <suewangswu@gmail.com>
Co-authored-by: Blackoutta <hyytez@gmail.com>
Co-authored-by: crazywoola <100913391+crazywoola@users.noreply.github.com>
2025-08-19 09:47:34 +08:00
NeatGuyCoding
60cc82aff1
feat: add testcontainers based tests for feature service ( #24026 )
2025-08-19 09:32:47 +08:00
Asuka Minato
ebd2c8236d
an example of suppress ( #24136 )
2025-08-19 00:21:26 +08:00
Zhehao Peng
c0702aacac
Use typing.Literal to replace str places ( #24099 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-08-18 21:34:13 +08:00
Harry
6ce013ac52
fix: OAuth client parameter retrieval by verifying plugin status
2025-08-18 20:41:22 +08:00
He Wang
670d479e32
Bump pyobvector to 0.2.15 ( #24120 )
2025-08-18 17:36:27 +08:00
Stream
ae7de7d36b
fix: treat default template of code as empty ( #24106 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-08-18 16:52:27 +08:00
crazywoola
8288b1dcab
Revert "fix pg_vector extension requires SUPERUSER, but not availabl… ( #24108 )
2025-08-18 16:46:15 +08:00
Elvis_LEE
16d1289a0a
fix pg_vector extension requires SUPERUSER, but not available on Huawei Cloud RDS ( #24093 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-08-18 16:29:36 +08:00
Junyan Qin (Chin)
531e784a92
feat: no longer enable auto upgrade when marketplace is disabled (#24… ( #24101 )
2025-08-18 15:57:33 +08:00
Bo Wu
790a6ec203
fix: return empty list instead of raising exception for qdrant search when score_threshold is 1 ( #24032 )
2025-08-18 12:44:05 +08:00
Joel
de9c5f10b3
feat: enchance prompt and code ( #23633 )
...
Co-authored-by: stream <stream@dify.ai>
Co-authored-by: Stream <1542763342@qq.com>
Co-authored-by: Stream <Stream_2@qq.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-08-18 12:29:12 +08:00
twwu
386614951f
Merge branch 'main' into feat/rag-2
2025-08-18 11:16:18 +08:00
Maries
a7fe0e3f87
fix(oauth): redis compatibility ( #23959 )
2025-08-18 11:14:08 +08:00
-LAN-
052d0e059e
feat: add Redis SSL/TLS certificate authentication support ( #23624 )
2025-08-18 10:59:07 +08:00
NeatGuyCoding
80f0594f4b
feat: add testcontainers based tests for model loadbalancing service ( #24066 )
2025-08-18 09:54:22 +08:00
NeatGuyCoding
97b24f48d5
feat: add testcontainers based tests for metadata service ( #24048 )
2025-08-18 09:43:20 +08:00
kurokobo
c69634085d
Revert "Fix: Correct file variable handling for custom tools in workflow ( #24061 )
2025-08-17 23:14:37 +08:00
湛露先生
0a9af45194
no used function for message_queue. ( #24027 )
...
Signed-off-by: zhanluxianshen <zhanluxianshen@163.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-08-17 09:33:22 +08:00
Yongtao Huang
32fa817eaa
Update mypy.ini ( #24014 )
...
Co-authored-by: Yongtao Huang <99629139+hyongtao-db@users.noreply.github.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-08-16 19:29:19 +08:00
Yongtao Huang
af10b3c5fa
Fix: add 'api_key' alias for backward compatibility ( #24022 )
...
Signed-off-by: Yongtao Huang <yongtaoh@gmail.com>
Co-authored-by: Yongtao Huang <99629139+hyongtao-db@users.noreply.github.com>
2025-08-16 19:28:31 +08:00
Yongtao Huang
8b601a983c
Fix missing user_id in trace_manager ( #24024 )
2025-08-16 11:08:30 +08:00
耐小心
4b9812ce6a
fix: move database service call inside session context in workflow draft variable API ( #23996 )
2025-08-15 18:23:42 +08:00
Yongtao Huang
c9e18346ce
Chore: remove empty files and unused code ( #23990 )
...
Co-authored-by: Yongtao Huang <99629139+hyongtao-db@users.noreply.github.com>
2025-08-15 16:28:41 +08:00
Will
658157e9a1
chore: improved type annotations in MCP-related codes ( #23984 )
2025-08-15 15:19:30 +08:00
Will
821fe26b56
fix comparison with callable ( #23978 )
2025-08-15 15:03:00 +08:00
jyong
fb7dc4e0e1
fix file
2025-08-15 14:55:37 +08:00
autofix-ci[bot]
ff76adc88a
[autofix.ci] apply automated fixes
2025-08-15 04:17:51 +00:00
Yunlu Wen
cfc555d05d
feat: add knowledge pipeline creation feature
2025-08-15 12:15:37 +08:00
xubo
f560116fb2
fix: 504 Gateway Time-out error on /console/api/version endpoint ( #23961 )
2025-08-15 11:25:25 +08:00
heyszt
aa71173dbb
Feat: External_trace_id compatible with OpenTelemetry ( #23918 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-08-15 09:13:41 +08:00
NeatGuyCoding
11fdcb18c6
feature: add test for tool engine serialization ( #23951 )
2025-08-15 09:12:29 +08:00
Yongtao Huang
f40e2cf98a
Fix: remove redundant allowed_keys check in jsonable_encoder ( #23931 )
...
Signed-off-by: Yongtao Huang <yongtaoh2022@gmail.com>
Co-authored-by: Yongtao Huang <99629139+hyongtao-db@users.noreply.github.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-08-14 19:52:07 +08:00
-LAN-
e340fccafb
feat: integrate flask-orjson for improved JSON serialization performance ( #23935 )
2025-08-14 19:50:59 +08:00
jyong
8e88765261
fix file
2025-08-14 18:17:44 +08:00
jyong
5a2618d002
fix file
2025-08-14 18:07:52 +08:00
jyong
69a821db02
fix file
2025-08-14 18:01:29 +08:00
Alex Chim
4a2e6af9b5
Fixes #23921 ( #23924 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-08-14 15:54:25 +08:00
crazywoola
acba135de1
Revert "feat: support to upload files for visual model call when running LLM node for debugging in a single step" ( #23922 )
2025-08-14 15:52:19 +08:00
jyong
a8fbf123e4
Merge remote-tracking branch 'origin/feat/rag-2' into feat/rag-2
2025-08-14 15:12:29 +08:00
jyong
8b8d257f78
fix file
2025-08-14 15:12:09 +08:00
twwu
02720c9b95
Merge branch 'main' into feat/rag-2
2025-08-14 15:03:48 +08:00
crazywoola
c39dfad7b6
fix: mime_type could be None ( #23880 )
...
Co-authored-by: -LAN- <laipz8200@outlook.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-08-14 13:40:06 +08:00
Guangdong Liu
9e29309ffd
fix: ensure custom headers are ignored when using bearer or basic authorization ( #23584 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-08-14 10:18:12 +08:00
NeatGuyCoding
e0f0813b7c
Add Test Containers Based Tests for App Generation Services ( #23899 )
2025-08-14 10:16:41 +08:00
Guangdong Liu
d4756ba659
Fix multipart/form-data boundary issue in HTTP Call node ( #23903 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-08-14 10:01:27 +08:00
QuantumGhost
7286b4ad06
fix(api): resolve "Message not exists" error in admin feedback creation ( #23232 )
...
Fix regression introduced in PR #22580 where admin users encountered
"Message not exists" errors when creating feedback on messages created
by other users.
The issue was caused by `MessageService.create_feedback()` incorrectly
filtering messages by the current user's ID, preventing admins from
accessing messages created by end users.
Reverts: #22580
2025-08-13 23:57:25 +08:00
jyong
72ea3b4d01
fix variable_pool
2025-08-13 17:38:14 +08:00
Yongtao Huang
bf2f03f911
Restructure the File errors in controller ( #23801 )
...
Co-authored-by: Yongtao Huang <99629139+hyongtao-db@users.noreply.github.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-08-13 17:06:07 +08:00
jyong
3797416fe0
fix online drive
2025-08-13 15:45:33 +08:00
Will
5aaa47e25d
fix: messages updated_at ( #23869 )
2025-08-13 15:34:52 +08:00
jyong
f74706a4a5
fix online drive
2025-08-13 15:28:18 +08:00
twwu
5a6818c817
Merge branch 'main' into feat/rag-2
2025-08-13 15:05:57 +08:00
goofy
4da6ec787e
feat: support to upload files for visual model call when running LLM node for debugging in a single step ( #23521 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-08-13 14:07:13 +08:00
kenwoodjw
21e1b825fe
fix: optimize dataset cleanup task ( #23828 )
...
Signed-off-by: kenwoodjw <blackxin55+@gmail.com>
2025-08-13 11:22:03 +08:00
NeatGuyCoding
1cf7c3430a
Add more comprehensive Test Containers Based Tests for advanced prompt service ( #23850 )
2025-08-13 11:21:32 +08:00
QuantumGhost
e600070a61
feat(api): auto-delete WorkflowDraftVariable when app is deleted ( #23737 )
...
This commit introduces a background task that automatically deletes `WorkflowDraftVariable` records when
their associated workflow apps are deleted.
Additionally, it adds a new cleanup script
`cleanup-orphaned-draft-variables` to remove existing orphaned draft variables from the database.
2025-08-13 11:13:08 +08:00
-LAN-
74ab057f56
refactor: improve Redis wrapper type hints and fix None value handling ( #23845 )
2025-08-13 09:46:02 +08:00
xinlmain
b3399642c5
feat: Add an asynchronous repository to improve workflow performance ( #20050 )
...
Co-authored-by: liangxin <liangxin@shein.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: liangxin <xinlmain@gmail.com>
2025-08-13 02:28:06 +08:00
Bowen Liang
a77dfb69b0
chore: update uv to 0.8.9 ( #23833 )
2025-08-12 23:41:39 +08:00
NeatGuyCoding
cb46726fa4
Add Test Containers Based Tests for File Service ( #23771 )
2025-08-12 18:16:07 +08:00
jyong
fcdbfbda4f
add credential id
2025-08-12 17:56:28 +08:00
jyong
ae3addb922
add credential id
2025-08-12 15:43:11 +08:00
jyong
bd1d7f8652
add credential id
2025-08-12 15:38:26 +08:00
jyong
a0006ce968
add credential id
2025-08-12 14:45:45 +08:00
Will
1ffe190557
Feat/improved mcp timeout configs ( #23605 )
...
Co-authored-by: crazywoola <427733928@qq.com>
2025-08-12 13:14:00 +08:00
jyong
2b7243dbc7
add credential id
2025-08-12 11:13:47 +08:00
jyong
22b3933cc3
Merge branch 'main' into feat/rag-2
...
# Conflicts:
# api/core/workflow/entities/variable_pool.py
2025-08-12 11:13:04 +08:00
jyong
1bc506603a
add credential id
2025-08-12 11:10:21 +08:00
jiangbo721
c0bb2ec851
feat: If combining text and files, place the text prompt after the fi… ( #23779 )
...
Co-authored-by: 刘江波 <jiangbo721@163.com>
2025-08-12 10:36:55 +08:00
engchina
7566d90dfe
fix issue #23758 ( #23764 )
...
Co-authored-by: root <root@thinkpad-pc.localdomain>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-08-12 10:26:13 +08:00
Jason Young
b38f195a0d
test: add comprehensive test suite for rate limiting module ( #23765 )
2025-08-12 10:05:30 +08:00
Jason Young
cdee5aab3a
fix: update integration tests to use 2-element variable selectors ( #23766 )
2025-08-12 09:33:09 +08:00
QuantumGhost
4240e2dd29
fix(api): fix flaky tests by generating unique variable names ( #23768 )
2025-08-12 09:31:15 +08:00
Yongtao Huang
a44ca29717
Chore: remove unused var in `ModelProviderFactory` ( #23690 )
2025-08-11 22:04:11 +08:00
Harry
cf4a526e7f
refactor: replace db.session with session in DatasourceProviderService for consistency
2025-08-11 20:35:46 +08:00
Harry
543f80ad5d
refactor: replace get_real_credential_by_id with get_datasource_credentials in multiple services for consistency
2025-08-11 20:04:04 +08:00
jyong
087a4fbd14
add credential id
2025-08-11 18:26:41 +08:00
-LAN-
332e8e68ee
refactor: Change _queue_manager to public attribute queue_manager in task pipelines ( #23747 )
2025-08-11 18:18:07 +08:00
-LAN-
577062b93a
refactor: simplify variable pool key structure and improve type safety ( #23732 )
...
Signed-off-by: -LAN- <laipz8200@outlook.com>
2025-08-11 18:10:04 +08:00
QuantumGhost
223c1a8089
test(api): fix flaky tests in TestWorkflowDraftVariableService ( #23749 )
...
Fix flaky test
`TestWorkflowDraftVariableService.test_list_variables_without_values_success`
caused by low entropy in test data generation that led to
duplicate values violating unique constraints.
Also improve data generation in other tests within
`TestWorkflowDraftVariableService` to reduce the likelihood of
generating duplicate test data.
2025-08-11 17:39:58 +08:00
Wu Tianwei
0baccb9e82
chore(version): bump version to 1.7.2 ( #23740 )
2025-08-11 17:12:44 +08:00
-LAN-
43411d7a9e
chore: remove debug log statements from DifyAPIRepositoryFactory ( #23734 )
2025-08-11 15:39:20 +08:00
-LAN-
2dbf20a3e9
fix: resolve circular import in AppGenerateEntity ( #23731 )
2025-08-11 15:38:28 +08:00
-LAN-
aaf9fc1562
fix: add @property decorator to pydantic computed_field for compatibility ( #23728 )
2025-08-11 15:34:19 +08:00
NeatGuyCoding
4a72fa6268
fix: Enhance doc_form null checking, exception handling, and rollback logic ( #23713 )
2025-08-11 13:53:40 +08:00
Harry
ada0875ac4
fix: update default value for expires_at in DatasourceProvider model
2025-08-11 11:40:51 +08:00
Harry
6b07e0e8d6
feat: add expiration for OAuth credentials in datasource provider
2025-08-11 11:25:50 +08:00
twwu
fc779d00df
Merge branch 'main' into feat/rag-2
2025-08-11 11:15:58 +08:00
NeatGuyCoding
6083b1d618
Feat add testcontainers test for message service ( #23703 )
...
Co-authored-by: crazywoola <100913391+crazywoola@users.noreply.github.com>
2025-08-11 10:49:32 +08:00
Yongtao Huang
36b221b170
Fix model_setting_map key mismatch ( #23699 )
...
Signed-off-by: Yongtao Huang <yongtaoh2022@gmail.com>
2025-08-11 09:33:26 +08:00
Guangdong Liu
d1fc98200c
fix: update HTTP request timeout fields to use Field with default values ( #23694 )
2025-08-11 09:30:16 +08:00
Guangdong Liu
79a3c1618f
fix: support custom file types in workflow Start node ( #23672 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-08-10 11:09:47 +08:00
NeatGuyCoding
5f8967918e
Feat add testcontainers test for app dsl service ( #23675 )
2025-08-10 11:03:46 +08:00
-LAN-
6900b08134
fix: sync missing conversation variables for existing conversations ( #23649 )
2025-08-09 22:42:18 +08:00
Yongtao Huang
431e0105de
Fix bare raise in if blocks ( #23671 )
...
Signed-off-by: Yongtao Huang <yongtaoh2022@gmail.com>
2025-08-09 22:40:55 +08:00
-LAN-
cbe0d9d053
fix: conversation pinned filter returns incorrect results when no conversations are pinned ( #23670 )
2025-08-09 22:40:28 +08:00
NeatGuyCoding
41345199d8
Feat add testcontainers test for api base extendsion service ( #23652 )
2025-08-09 12:57:24 +08:00
yunqiqiliang
14e1c16cf2
Fix ClickZetta stability and reduce logging noise ( #23632 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-08-08 22:57:47 +08:00
jyong
df5a4e5c08
Merge remote-tracking branch 'origin/feat/rag-2' into feat/rag-2
2025-08-08 14:18:45 +08:00
jyong
d07ce809be
add credential id
2025-08-08 14:18:30 +08:00
crazywoola
1c60b7f070
Revert "feat: improved MCP timeout" ( #23602 )
2025-08-08 11:20:53 +08:00
znn
084dcd1a50
using message_file event instead of message event ( #22988 )
2025-08-08 09:50:20 +08:00
湛露先生
fd536a943a
word extractor cleans. ( #20926 )
...
Signed-off-by: zhanluxianshen <zhanluxianshen@163.com>
2025-08-08 09:37:51 +08:00
jiangbo721
6f80fb72cb
feat: tools json response support datetime uuid etc ( #22738 )
...
Co-authored-by: 刘江波 <jiangbo721@163.com>
2025-08-08 09:26:50 +08:00
yunqiqiliang
62772e8871
fix: ensure vector database cleanup on dataset deletion regardless of document presence (affects all 33 vector databases) ( #23574 )
...
Co-authored-by: Claude <noreply@anthropic.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-08-08 09:18:43 +08:00
Will
4b0480c8b3
feat: improved MCP timeout ( #23546 )
2025-08-08 09:08:14 +08:00
Yongtao Huang
c8c591d73c
Fix incorrect exception handling in db query ( #23582 )
...
Signed-off-by: Yongtao Huang <yongtaoh2022@gmail.com>
2025-08-08 09:07:59 +08:00
lyzno1
2edd32fdea
fix: resolve AppCard description overlap with tag area ( #23585 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-08-08 09:05:55 +08:00
NeatGuyCoding
5889059ce4
Feat add testcontainers test for annnotation service ( #23593 )
2025-08-08 09:03:50 +08:00
-LAN-
7230497bf4
fix: empty arrays should convert to empty string in LLM prompts ( #23590 )
2025-08-08 08:50:37 +08:00
lyzno1
d98071a088
feat: add Service API file preview endpoint ( #23534 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-08-07 21:44:29 +08:00
BotAndyGao
ac02c12e49
fix: resolve Windows path separator issue in Huawei OBS operations ( #23475 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-08-07 21:17:46 +08:00
Qiang Lee
e9045a8838
Fix: Apply Metadata Filters Correctly in Full-Text Search Mode for Tencent Cloud Vector Database ( #23564 )
2025-08-07 05:36:06 -07:00
-LAN-
55487ba0c6
fix: exclude dev dependencies from production Docker image ( #23562 )
2025-08-07 05:35:32 -07:00
twwu
1b3860d012
Merge branch 'main' into feat/rag-2
2025-08-07 16:27:20 +08:00
jyong
e6f1bc165c
add tool file preview
2025-08-07 14:35:04 +08:00
yunqiqiliang
e01510e2a6
feat: Add Clickzetta Lakehouse vector database integration ( #22551 )
...
Co-authored-by: Claude <noreply@anthropic.com>
2025-08-07 14:21:46 +08:00
goofy
ad1b1193fa
fix localtime_to_timestamp tool throws 'no attribute localize error' when it executes without specifying a timezone parameter ( #23517 )
2025-08-07 11:14:45 +08:00
jyong
ca8f80ee33
notion fix
2025-08-07 11:13:02 +08:00
NeatGuyCoding
d253ca192a
Feat add testcontainers test for app service ( #23523 )
2025-08-07 09:13:30 +08:00
Yongtao Huang
e072b7dafa
Chore: remove unused variable pruned_memory ( #23514 )
2025-08-07 09:06:17 +08:00
Guangdong Liu
3ff52f1809
feat: Enhance response validation and parsing in tool.py ( #23456 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-08-07 09:04:51 +08:00
ghmark675
ad61b42494
fix(node): fix unexpected extra equals sign in HTTP params ( #23474 )
2025-08-07 09:04:09 +08:00
jyong
218e778099
Merge remote-tracking branch 'origin/feat/rag-2' into feat/rag-2
2025-08-06 15:39:27 +08:00
jyong
1567b615dc
notion fix
2025-08-06 15:39:22 +08:00
Harry
2a1e1a8042
feat: datasource output schema
2025-08-06 15:12:57 +08:00
jyong
13f38045d4
Merge remote-tracking branch 'origin/feat/rag-2' into feat/rag-2
2025-08-06 15:11:45 +08:00
jyong
94a0fb6dc1
notion fix
2025-08-06 15:11:37 +08:00
twwu
95982d37a6
refactor: remove unused DataSourceOauthBinding import from dataset_service and document_indexing_sync_task
2025-08-06 14:25:39 +08:00
twwu
40f3524cfe
Merge branch 'main' into feat/rag-2
2025-08-06 14:23:51 +08:00
Yongtao Huang
b8ef0c84e6
Fix: moved `file =` after file presence validation ( #23453 )
...
Signed-off-by: Yongtao Huang <yongtaoh2022@gmail.com>
2025-08-06 13:44:12 +08:00
Yongtao Huang
6b8b31ff64
Remove unnecessary issubclass check ( #23455 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-08-06 13:43:55 +08:00
jyong
05e96e56e5
notion fix
2025-08-06 11:13:20 +08:00
NeatGuyCoding
ad622cea9e
Feat add testcontainers test for workflow draft variable service ( #23466 )
2025-08-06 09:47:56 +08:00
NeatGuyCoding
fc5ed9f316
Feat add testcontainers test for account service ( #23380 )
2025-08-05 20:15:39 +08:00
rouxiaomin
40a11b6942
feat(api):Enhance the scope of expired data cleanup table in the Dify… ( #23414 )
2025-08-05 19:57:43 +08:00
jyong
2f163bad8f
transform document
2025-08-05 18:16:24 +08:00
Xiyuan Chen
904af20023
Feat/webapp opt ( #23283 )
2025-08-05 16:07:48 +08:00
heyszt
3b5130b03d
add otel instrument for redis and http request ( #23371 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-08-05 11:14:51 +08:00
znn
ab78e12089
enhancing logging ( #23332 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-08-05 10:36:48 +08:00
zxhlyh
0975f5bdc2
merge main
2025-08-05 10:31:12 +08:00
zxhlyh
201e4cd64d
merge main
2025-08-05 10:30:53 +08:00
Will
7fe23a0ca6
remove useless Tool class attributes ( #23389 )
2025-08-05 10:20:28 +08:00
NeatGuyCoding
a724f35672
fix: fetchAppWithTags may return empty when apps is over 100 ( #23350 )
2025-08-04 20:20:43 +08:00
NeatGuyCoding
60c7663a80
Feat add testcontainers test ( #23269 )
2025-08-04 19:27:36 +08:00
Yongtao Huang
146d870098
Fix: avoid Flask route conflict by merging `DocumentDetailApi` and `DocumentDeleteApi` ( #23333 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-08-04 14:37:36 +08:00
Yongtao Huang
406c1952b8
Fix version comparison with imported_version ( #23326 )
...
Signed-off-by: Yongtao Huang <yongtaoh2022@gmail.com>
2025-08-04 10:40:49 +08:00
Yongtao Huang
964fa132cb
Chore: fix typo, no code change ( #23331 )
2025-08-03 22:30:28 +08:00
Yongtao Huang
76d123fe19
Fix segment query tenant bug and variable naming typo ( #23321 )
...
Signed-off-by: Yongtao Huang <yongtaoh2022@gmail.com>
2025-08-03 18:30:09 +08:00
qiaofenlin
20f0238aab
feat: support workflow version specification in workflow and chat APIs ( #23188 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-08-03 16:27:12 +08:00
Warren Wong
6d5a7684b4
feat: Add Download Button to UI for Knowledge Resource Source Files ( #23320 )
2025-08-03 16:26:11 +08:00
Yongtao Huang
fbf844efd5
Chore: replace deprecated `datetime.utcnow()` with `naive_utc_now()` ( #23312 )
...
Signed-off-by: Yongtao Huang <yongtaoh2022@gmail.com>
2025-08-03 10:11:47 +08:00
Asuka Minato
58608f51da
replace db with sa to get typing support ( #23240 )
2025-08-02 23:54:23 +08:00
Hasta
688d07e9c3
fix the error of unable to retrieve url from file ( #13603 )
2025-08-02 17:15:55 +08:00
XiaoXiaoJiangYun
b2c8718f35
Update metadata_service.py ( #23272 )
2025-08-02 12:15:23 +08:00
XiaoXiaoJiangYun
46ba0a8781
Update metadata_service.py ( #23271 )
2025-08-02 12:14:43 +08:00
liujin-patsnap
bc18d4d1b9
Fix: Correct file variable handling for custom tools in workflow ( #18427 )
2025-08-02 03:36:04 +08:00
DazzlingSong
a4b14fc992
fix video and audio extension, keep consistent with the web page. ( #23287 )
...
Co-authored-by: wangjialei <wangjialei@xiaomi.com>
2025-08-01 22:59:38 +08:00
Yongtao Huang
be914438a5
Fix: incorrect array element validation in SegmentType ( #23289 )
2025-08-01 22:46:50 +08:00
Tianyi Jing
ec488a4c43
fix: type for ProviderConfig.default ( #23282 )
...
Signed-off-by: jingfelix <jingfelix@outlook.com>
2025-08-01 17:37:22 +08:00
NeatGuyCoding
759ded3e3a
minor fix: fix default for status of TidbAuthBinding in compatible with various versions ( #22288 )
2025-08-01 14:51:16 +08:00
wanttobeamaster
da5c003f97
chore: tablestore full text search support score normalization ( #23255 )
...
Co-authored-by: xiaozhiqing.xzq <xiaozhiqing.xzq@alibaba-inc.com>
2025-08-01 14:14:11 +08:00
jyong
f3f3a99e5b
transform document
2025-08-01 14:11:11 +08:00
jyong
79f30daf03
transform document
2025-08-01 13:59:11 +08:00
baonudesifeizhai
872ff3f1d4
fix: resolve multipart/form-data boundary issue in HTTP Request compo nent #22880 ( #23008 )
...
Co-authored-by: crazywoola <427733928@qq.com>
2025-08-01 10:26:50 +08:00
Alex Chim
8ab3fda5a8
[Enhancement] Allow modify conversation variable via api ( #23112 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-08-01 09:34:56 +08:00
kenwoodjw
1821726d4f
fix celery backend when use rabbitmq ( #23238 )
...
Signed-off-by: kenwoodjw <blackxin55+@gmail.com>
2025-08-01 09:26:05 +08:00
Asuka Minato
79ea94483e
refine some orm types ( #22885 )
2025-07-31 18:43:04 +08:00
ian woolf
a0a30bfdcc
fix: set default value to avoid initializing with empty value ( #23220 )
2025-07-31 17:50:53 +08:00
Maries
9400832b2b
fix: correct plugin indentation ( #23228 )
2025-07-31 17:35:39 +08:00
jyong
82819af55c
transform document
2025-07-31 15:59:30 +08:00
Yongtao Huang
a434f6240f
Chroe: some misc cleanup ( #23203 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-07-31 15:33:39 +08:00
jyong
97136ca8f0
transform document
2025-07-31 15:21:06 +08:00
jyong
8e96b9ed77
transform document
2025-07-31 11:51:40 +08:00
Jason Young
afac1fe590
Add comprehensive security tests for file upload controller ( #23102 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-07-31 10:32:16 +08:00
kenwoodjw
4251515b4e
fix remote file ( #23127 )
...
Signed-off-by: kenwoodjw <blackxin55+@gmail.com>
2025-07-31 10:30:54 +08:00
jyong
a7a4c8228e
Merge branch 'main' into feat/rag-2
...
# Conflicts:
# web/app/components/workflow/hooks/use-workflow.ts
2025-07-31 10:30:28 +08:00
Ali Saleh
142ab74784
feat: Enable Tracing Support For Phoenix Cloud Instance ( #23196 )
2025-07-30 15:58:26 -07:00
Aurelius Huang
ffddabde43
feat(notion): Notion Database extracts Rows content `in row order` and appends `Row Page URL` ( #22646 )
...
Co-authored-by: Aurelius Huang <cm.huang@aftership.com>
2025-07-30 21:35:20 +08:00
Will
4e2129d74f
fix: Error processing trace tasks ( #23170 )
2025-07-30 18:00:15 +08:00
NeatGuyCoding
07cff1ed2c
minor fix: fix flask api resources only accept one resource for same url ( #23168 )
2025-07-30 17:05:02 +08:00
NeatGuyCoding
070379a900
minor fix: fix wrong check of annotation_ids ( #23164 )
2025-07-30 17:04:31 +08:00
Sn0rt
bbdeb15501
fix: Support URL-encoded passwords with special characters in CELERY_BROKER_URL ( #23163 )
...
Signed-off-by: Sn0rt <wangguohao.2009@gmail.com>
2025-07-30 16:39:54 +08:00
Harry
deceaa38f0
feat: datasource oauth default credentials
2025-07-30 16:36:27 +08:00
kenwoodjw
28478cdc41
feat: support metadata condition filter string array ( #23111 )
...
Signed-off-by: kenwoodjw <blackxin55+@gmail.com>
2025-07-30 16:13:45 +08:00
Harry
f7ec255b3e
feat: oauth
2025-07-30 15:55:16 +08:00
Harry
4dab128900
feat: oauth
2025-07-30 15:52:59 +08:00
jyong
f37109ef39
transform document
2025-07-30 14:34:38 +08:00
GuanMu
4499cda186
Feat annotations panel ( #22968 )
2025-07-30 13:40:48 +08:00
Harry
875aea1c22
feat: datasource reauthentication
2025-07-30 13:39:04 +08:00
rhochman
eee576355b
Fix: Support for Elasticsearch Cloud Connector ( #23017 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: crazywoola <100913391+crazywoola@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-07-30 11:12:16 +08:00
Yongtao Huang
a51998e4aa
Fix: prevent KeyError in validate_api_list by correcting logical check ( #23126 )
2025-07-30 10:37:06 +08:00
znn
0b44edaca9
request fail when no api key ( #23135 )
2025-07-30 10:36:03 +08:00
Yongtao Huang
ab163a5f75
Chore: use `Workflow.VERSION_DRAFT` instead of hardcoded `draft` ( #23136 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-07-30 10:34:51 +08:00
Yongtao Huang
f17ca26b10
Fix: add missing db.session.close() to ensure proper session cleanup ( #23122 )
2025-07-30 10:34:24 +08:00
lyzno1
0ea010d7ee
fix: metadata API nullable validation consistency issue ( #23133 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-07-30 10:33:24 +08:00
呆萌闷油瓶
ab7c2cf000
minor fix: Object of type int64 is not JSON serializable ( #23109 )
2025-07-29 21:40:03 +08:00
NeatGuyCoding
cba5bd588c
minor fix: wrong position of retry_document_indexing_task time elapsed ( #23099 )
2025-07-29 20:54:37 +08:00
Shaun
00cb1c26a1
refactor: pass external_trace_id to message trace ( #23089 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-07-29 19:34:46 +08:00
jyong
ecba9e44ff
transform document
2025-07-29 18:17:56 +08:00
jyong
a7d4675831
transform document
2025-07-29 18:12:35 +08:00
jyong
21df72a57a
transform document
2025-07-29 17:56:28 +08:00
NeatGuyCoding
ae28ca0b8d
minor fix: wrong assignment ( #23103 )
2025-07-29 16:36:21 +08:00
NeatGuyCoding
51a6b9dc57
hotfix: clear_all_annotations should also execute delete_annotation_index_task just like delete_app_annotation ( #23093 )
...
Co-authored-by: crazywoola <100913391+crazywoola@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-07-29 16:35:33 +08:00
jyong
e2df3f182d
transform document
2025-07-29 16:01:06 +08:00
zxhlyh
a996c1d90c
merge main
2025-07-29 15:45:01 +08:00
zxhlyh
e19a07c2e6
merge main
2025-07-29 15:44:23 +08:00
jyong
9cfb531e3b
transform document
2025-07-29 15:23:11 +08:00
jyong
e89398f415
add old auth transform
2025-07-29 14:13:50 +08:00
jyong
6d00ffa509
add old auth transform
2025-07-29 11:18:06 +08:00
NeatGuyCoding
47cc951841
Fix Empty Collection WHERE Filter Issue ( #23086 )
2025-07-29 11:17:50 +08:00
NeatGuyCoding
63b6026e6e
minor fix: fix error messages ( #23081 )
2025-07-29 10:59:43 +08:00
Yongtao Huang
57e0a12ccd
Refactor: remove redundant full module paths in exception handlers ( #23076 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-07-29 09:40:51 +08:00
jyong
657e813c7f
add old auth transform
2025-07-28 19:29:36 +08:00
jyong
829e6f0d1a
add old auth transform
2025-07-28 19:29:07 +08:00
NeatGuyCoding
537c04745d
minor fix: using the same AccountInFreezeError ( #23061 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-07-28 18:24:27 +08:00
QuantumGhost
0d2d349ab3
chore(version): bump version to 1.7.1 ( #23048 )
2025-07-28 16:42:39 +08:00
zyssyz123
de28bb1075
fix: changed email login use oauth will create an new account ( #23057 )
2025-07-28 16:32:25 +08:00
zxhlyh
a95cf6f8b0
merge main
2025-07-28 16:00:38 +08:00
Jyong
3248d728ac
fix retry document db session issue ( #23046 )
2025-07-28 15:56:49 +08:00
chenguowei
fce126b206
fix(api): fix incorrect path handling in Langfuse integration ( #22766 )
...
Co-authored-by: QuantumGhost <obelisk.reg+git@gmail.com>
2025-07-28 15:37:13 +08:00