非法操作
41b6f894c0
fix: fetch memory of LLM node may cause out of flask context ( #36253 )
2026-05-16 16:38:48 +00:00
EvanYao
e7e6fe8813
refactor: convert isinstance chains to match/case (part 3) ( #36242 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-05-16 08:16:14 +00:00
EvanYao
c0bdd6792f
refactor: convert isinstance chains to match/case in easy_ui_based_generate_task_pipeline.py ( #36222 )
2026-05-15 13:51:49 +00:00
Yunlu Wen
27b084c4d4
fix: reduce db roundtrips of message update ( #36213 )
2026-05-15 08:39:48 +00:00
-LAN-
0d500e6965
fix(api): allow LLM nodes to access retrieved knowledge files ( #36175 )
2026-05-14 13:09:25 +00:00
Yunlu Wen
a9bcec013f
feat: allow disabling run time cred check ( #36031 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-05-14 07:12:10 +00:00
chariri
af4b9bfa8f
chore: Remove pyright in favor of pyrefly ( #36154 )
2026-05-14 05:49:08 +00:00
BrianWang1990
b9e3130388
chore: drop unnecessary | None on LLMError and Mail.send ( #36147 )
...
Co-authored-by: Brian Wang <20699847+BrianWang1990@users.noreply.github.com>
2026-05-14 03:22:00 +00:00
wangxiaolei
fe8cf2aff4
fix: fix pydantic union type error ( #36134 )
2026-05-14 02:54:23 +00:00
Blackoutta
934a20e745
fix: restore tracing after HITL workflow resume ( #36064 )
...
Co-authored-by: -LAN- <laipz8200@outlook.com>
2026-05-13 03:23:32 +00:00
Asuka Minato
6facd9360c
chore: some match case ( #36080 )
...
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
2026-05-12 14:45:58 +00:00
Asuka Minato
51a8f79d67
chore: DocumentSegment to Typebase ( #35635 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-05-12 07:02:17 +00:00
-LAN-
cbedcd2882
fix(security): harden self-hosted SECRET_KEY bootstrap ( #36049 )
...
Co-authored-by: EndlessLucky <66432853+EndlessLucky@users.noreply.github.com>
2026-05-12 05:35:24 +00:00
Blackoutta
7fc40e6c9e
feat: improve phoenix workflow tracing ( #35605 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: -LAN- <laipz8200@outlook.com>
2026-05-11 08:37:17 +00:00
Asuka Minato
d625ac0bf1
refactor: port some if else to match ( #31841 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-05-11 06:39:59 +00:00
QuantumGhost
74a04afe27
chore(api): upgrade graphon to v0.3.1 ( #35987 )
...
Co-authored-by: -LAN- <laipz8200@outlook.com>
2026-05-11 05:32:17 +00:00
Asuka Minato
1a011dc14a
refactor: port DatasetProcessRule ( #31004 )
...
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-05-11 03:37:26 +00:00
L1nSn0w
e8dc706414
fix(api): "File validation failed" on Chatflow follow-up with custom file type + memory ( #35891 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-05-11 01:57:56 +00:00
Asuka Minato
7b5c371b9d
chore: api para type ( #35985 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-05-10 06:04:42 +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
-LAN-
19476109da
chore(api): upgrade graphon to v0.3.0 ( #35469 )
...
Signed-off-by: -LAN- <laipz8200@outlook.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: WH-2099 <wh2099@pm.me>
2026-05-09 07:30:03 +00:00
Asuka Minato
19bf36a716
chore: dep inject for session ( #35934 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
2026-05-08 17:48:33 +00:00
EvanYao
4d80892d7b
refactor: convert isinstance chains to match/case ( #35902 ) ( #35922 )
...
Signed-off-by: EvanYao826 <2869018789@qq.com>
2026-05-08 09:51:10 +00:00
sawyer-shi
57539792c1
fix(workflow): unblock plugin model selector tools on 1.14.0 ( #35794 )
2026-05-06 07:07:43 +00:00
wangxiaolei
5c68f12bb8
fix: fix Working outside of application context ( #35819 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-05-06 02:40:19 +00:00
kien duong
1f29565673
fix(rag): use doc_id dedup key for any provider, not only dify ( #35759 )
...
Co-authored-by: Asuka Minato <i@asukaminato.eu.org>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-05-05 06:42:18 +00:00
Prince Pal
4b7dc17546
fix: skip empty documents before vector embedding ( #35763 )
...
Co-authored-by: Asuka Minato <i@asukaminato.eu.org>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-05-04 13:06:58 +00:00
wangxiaolei
458fab1c48
fix: fix structured_output_enabled miss in second validate ( #35747 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Yunlu Wen <yunlu.wen@dify.ai>
2026-04-30 10:34:33 +00:00
Tim Ren
5cf741895f
fix(plugin): preserve multi-value HTTP response headers ( #35726 )
...
Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-30 08:09:56 +00:00
zyssyz123
949f930698
fix: keep cleanup tasks resilient to billing API failures ( #35600 )
2026-04-27 08:51:09 +00:00
Asuka Minato
ef7ff3356d
refactor: port ChildChunk ( #30920 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-04-26 00:59:22 +00:00
非法操作
2d09c4788d
fix: suggest questions more max_tokens ( #35533 )
2026-04-24 08:02:30 +00:00
Junyan Chin
5e336c47fd
feat: marketplace and oauth fixes ( #35509 )
...
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.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>
2026-04-24 07:53:14 +00:00
非法操作
be4c828214
feat: add service api of HITL ( #32826 )
...
Co-authored-by: Blackoutta <hyytez@gmail.com>
Co-authored-by: QuantumGhost <QuantumGhost@users.noreply.github.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: QuantumGhost <obelisk.reg+git@gmail.com>
Co-authored-by: Yunlu Wen <yunlu.wen@dify.ai>
2026-04-24 06:37:10 +00:00
Yunlu Wen
48e13f65dc
fix: sync 35528 ( #35539 )
2026-04-24 03:59:33 +00:00
tmimmanuel
ed8d3f3e8d
refactor(api): fix pyright errors in jieba, milvus, couchbase, oracle, and router ( #34938 )
...
Co-authored-by: Asuka Minato <i@asukaminato.eu.org>
2026-04-23 22:30:28 +00:00
非法操作
afec528f51
feat: improve follow-up settings ( #35442 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-04-22 08:55:16 +00:00
Mallikharjuna Mulpuri
0b60bf6ef0
refactor: replace deprecated Iterator with Generator in contextmanagers #35433 ( #35441 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-04-21 07:44:49 +00:00
非法操作
3b24d8d2d1
fix: webscaper sometime not work ( #35450 )
2026-04-21 06:04:56 +00:00
tmimmanuel
77f8f2babb
refactor(api): tighten core rag typing batch 1 ( #35210 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-04-21 04:32:43 +00:00
-LAN-
77d6c108e7
fix(workflow): cache provider configurations during graph init ( #35447 )
2026-04-21 04:29:35 +00:00
Avasis AI
0d921cd21d
fix: handle numpy scalar types in safe_json_value ( #35389 )
...
Co-authored-by: Abhay <abhayjnayakpro@gmail.com>
2026-04-20 07:52:52 +00:00
dev-miro26
97bb338e7d
fix: prevent double /v1 in MCP server URL causing 404 authorization failure ( #34596 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-04-20 02:42:59 +00:00
99
3e876e173a
chore(api): adapt Graphon 0.2.2 upgrade ( #35377 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-04-18 11:16:24 +00:00
Yunlu Wen
881a9a1a08
refactor(api): move trace providers ( #35144 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-04-17 07:53:35 +00:00
zyssyz123
a74e12809b
fix: move remote credential validation outside DB session to prevent … ( #35350 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-04-17 07:42:29 +00:00
Cocoon-Break
0c41d0bf51
fix: guard against KeyError in update_prompt_message_tool loop ( #35150 )
...
Co-authored-by: Crazywoola <100913391+crazywoola@users.noreply.github.com>
2026-04-17 07:09:40 +00:00
HeYinKazune
af8ffa0654
refactor: use sessionmaker in api_tools_manage_service.py ( #34892 )
...
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-04-17 05:07:12 +00:00
Yunlu Wen
3193e8a712
chore: reorg imports ( #35308 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-04-16 08:50:02 +00:00
Ayush Baluni
54e51be665
fix: apply score threshold after reranking in hybrid search ( #35263 )
2026-04-16 06:21:11 +00:00
wdeveloper16
7e7b27fdec
refactor: replace bare dict with dict[str, Any] in response converter… ( #35212 )
...
Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-14 19:45:04 +00:00
wdeveloper16
9c90c1c455
refactor: replace bare dict with dict[str, Any] in services and hosti… ( #35211 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-04-14 19:44:40 +00:00
tmimmanuel
ef28a63ad3
refactor(api): add null safety to extractor_processor and firecrawl ( #35209 )
...
Co-authored-by: tmimmanuel <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>
2026-04-14 18:23:20 +00:00
wdeveloper16
bd7a9b5fcf
refactor: replace bare dict with dict[str, Any] in model provider service and core modules ( #35122 )
...
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: Asuka Minato <i@asukaminato.eu.org>
2026-04-14 09:18:30 +00:00
aether
62bb830338
refactor: convert InvokeFrom if/elif to match/case ( #35143 )
2026-04-14 07:46:58 +00:00
HeYinKazune
f7c6270f74
refactor: use sessionmaker in tool_label_manager.py ( #34895 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-04-14 07:23:29 +00:00
dataCenter430
fbedb60371
refactor: replace bare dict with typed annotations in core rag module ( #35097 )
2026-04-14 06:16:16 +00:00
dataCenter430
974d2f1627
refactor: replace bare dict with typed annotations in llm_generator and prompt ( #35100 )
2026-04-14 06:15:52 +00:00
dataCenter430
ed401728eb
refactor: replace bare dict with typed annotations in app_config/extension/provider ( #35099 )
2026-04-14 06:11:00 +00:00
dataCenter430
fc389a54c5
refactor: replace bare dict with typed annotations in core tools module ( #35098 )
2026-04-14 06:09:55 +00:00
wdeveloper16
0f643bca76
refactor: replace bare dict with dict[str, Any] in core tools and runtime ( #35111 )
2026-04-14 03:03:13 +00:00
wdeveloper16
eeebedcfe8
refactor: replace bare dict with dict[str, Any] in core provider services and misc modules ( #35124 )
2026-04-14 03:03:08 +00:00
wdeveloper16
ed83f5369e
refactor: replace bare dict with dict[str, Any] in entities, workflow nodes, and tasks ( #35109 )
2026-04-14 03:02:39 +00:00
dataCenter430
83b242be7b
refactor: replace bare dict with typed annotations in core plugin module ( #35096 )
2026-04-13 19:23:21 +00:00
wdeveloper16
ac2258c2dc
refactor: replace bare dict with dict[str, Any] in app_config managers ( #35087 )
2026-04-13 17:14:39 +00:00
wdeveloper16
3c279edcf2
refactor: replace bare dict with dict[str, Any] in app task_entities … ( #35084 )
2026-04-13 17:14:23 +00:00
wdeveloper16
9ed8a5ed73
refactor: replace bare dict with dict[str, Any] in model_manager and … ( #35083 )
2026-04-13 17:14:08 +00:00
wdeveloper16
3d4ddf4a6f
refactor: replace bare dict with dict[str, Any] in ops trace providers ( #35082 )
2026-04-13 17:13:46 +00:00
wdeveloper16
4e0273bb28
refactor: replace bare dict with dict[str, Any] in provider entities and plugin client ( #35077 )
2026-04-13 17:09:25 +00:00
wdeveloper16
7056d2ae99
refactor: replace bare dict with dict[str, Any] in moderation module ( #35076 )
2026-04-13 17:09:06 +00:00
wdeveloper16
2042ee453b
refactor: replace bare dict with dict[str, Any] in helper cache modules ( #35067 )
2026-04-13 14:05:50 +00:00
wdeveloper16
33c4e512f1
refactor: replace bare dict with dict[str, Any] in tools message_transformer ( #35069 )
2026-04-13 14:05:39 +00:00
wdeveloper16
253e8a3f98
refactor: replace bare dict with dict[str, Any] in ops_trace_manager ( #35070 )
2026-04-13 14:05:29 +00:00
wdeveloper16
06b63d65d1
refactor: replace bare dict with dict[str, Any] in rag extractors ( #35068 )
2026-04-13 14:05:21 +00:00
wdeveloper16
e243e8d8a3
refactor: replace bare dict with dict[str, Any] in datasource_entities ( #35062 )
2026-04-13 13:01:50 +00:00
wdeveloper16
1b935a367f
refactor: replace bare dict with dict[str, Any] in watercrawl client ( #35063 )
2026-04-13 13:01:32 +00:00
wdeveloper16
2edd083a71
refactor: replace bare dict with dict[str, Any] in OpenAPI tools parser ( #35061 )
2026-04-13 13:01:21 +00:00
Yunlu Wen
ae898652b2
refactor: move vdb implementations to workspaces ( #34900 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: wangxiaolei <fatelei@gmail.com>
2026-04-13 08:56:43 +00:00
wangxiaolei
fc64427ae1
fix: fix qdrant delete size is too large ( #35042 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-04-13 07:59:06 +00:00
呆萌闷油瓶
29bfa33d59
feat: support ttft report to langfuse ( #33344 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
2026-04-13 06:21:58 +00:00
corevibe555
2108c44c8b
refactor(api): consolidate duplicate RerankingModelConfig and WeightedScoreConfig definitions ( #34747 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-04-13 05:53:45 +00:00
sxxtony
7dd507af04
refactor: migrate SegmentAttachmentBinding to TypeBase ( #34810 )
2026-04-13 05:22:43 +00:00
XHamzaX
596559efc9
fix(rag): include is_summary and original_chunk_id in default vector projection ( #34950 )
...
Co-authored-by: VFootball Dev <vfootball@example.com>
2026-04-13 03:11:08 +00:00
aviu16
d06bc2f2e1
refactor(api): type _build_log_dict return with LogDict TypedDict ( #34983 )
...
Co-authored-by: Asuka Minato <i@asukaminato.eu.org>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-04-13 01:06:36 +00:00
wdeveloper16
534fea7104
refactor: replace bare dict with typed annotations in external_data_tool ( #34996 )
2026-04-13 01:02:22 +00:00
wdeveloper16
602753b68a
refactor: replace bare dict with ActionDict TypedDict in cot_agent_runner ( #34997 )
2026-04-13 00:53:20 +00:00
wdeveloper16
0841b4c663
refactor(api): migrate tools, account, workflow and plugin services to SQLAlchemy 2.0 ( #34966 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-04-12 01:45:27 +00:00
wdeveloper16
12814b55d2
refactor(api): migrate core RAG layer to SQLAlchemy 2.0 select() API ( #34965 )
2026-04-11 16:32:20 +00:00
wangxiaolei
65d66768c1
fix: fix tool output duplicate ( #34962 )
2026-04-11 15:07:31 +00:00
YBoy
e0d69204cd
refactor(api): type DatasourceInvokeMeta.to_dict with TypedDict ( #34940 )
2026-04-11 00:39:06 +00:00
YBoy
f2d6275da4
refactor(api): type get_prompt_template with TypedDict ( #34943 )
2026-04-11 00:38:16 +00:00
YBoy
992ac38d0d
refactor(api): type ToolInvokeMeta.to_dict with TypedDict ( #34942 )
2026-04-11 00:37:10 +00:00
Ygor Leal
8633b2f1f7
refactor(tools): replace redundant dict[str, str] with EmojiIconDict ( #34786 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-04-10 18:53:05 +08:00
corevibe555
488fcd4f83
refactor(services): replace Union with | syntax in service layer (batch 2) ( #34906 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-04-10 07:05:31 +00:00
corevibe555
7f4bf19186
refactor(mcp): remove unused AnyFunction alias, tighten callback type ( #34890 )
2026-04-10 05:48:01 +00:00
corevibe555
07c573e52f
refactor(api): replace Optional/Union with | syntax, remove dead AnyFunction ( #34894 )
2026-04-10 05:46:05 +00:00
corevibe555
5fafac0ca4
refactor(api): modernize type annotations — replace Optional/Union with | syntax ( #34888 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-04-10 05:04:10 +00:00
volcano303
c41b62f47e
refactor(api): type format_preview returns with TypedDicts in index processors ( #34893 )
2026-04-10 05:01:01 +00:00
Pulakesh
d19f47b458
fix(api): replace assert isinstance with proper runtime type checks in message transformers ( #34865 )
2026-04-10 03:19:52 +00:00
carlos4s
86fd94767c
refactor(api): use sessionmaker in relyt & tidb_vector VDB services ( #34848 )
2026-04-10 03:16:25 +00:00