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
corevibe555
d826ac7099
refactor(models): replace Any with precise types in Tenant and MCPToo… ( #34880 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-04-10 03:12:38 +00:00
volcano303
40e23ce8dc
refactor(api): type DatasourceProviderApiEntity.to_dict with TypedDict ( #34879 )
2026-04-10 01:47:59 +00:00
Jean Ibarz
d50f096b14
fix(mcp): catch JSONDecodeError in OAuth discovery functions 🤖 🤖 🤖 ( #34868 )
2026-04-10 01:28:57 +00:00
dataCenter430
1117b6e72d
refactor: convert appmode misc if/elif to match/case ( #30001 ) ( #34869 )
2026-04-10 00:35:12 +00:00
dataCenter430
c5c5c71d15
refactor(api): type OpenSearch/Lindorm/Huawei VDB config params dicts with TypedDicts ( #34870 )
2026-04-10 00:34:34 +00:00
wangxiaolei
d042cbc62e
fix: fix remove_leading_symbols remove [ ( #34832 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-04-09 08:22:09 +00:00
-LAN-
d1e33ba9ea
refactor(api): reduce Dify GraphInitParams usage ( #34825 )
2026-04-09 07:59:15 +00:00
carlos4s
d360929af1
refactor(api): use sessionmaker in pgvecto_rs VDB service ( #34818 )
2026-04-09 05:49:03 +00:00
dataCenter430
5f53748d07
refactor: convert ToolProviderType if/elif to match/case ( #30001 ) ( #34794 )
2026-04-09 05:48:40 +00:00
aliworksx08
b5acc8e392
refactor: migrate session.query to select API in core tools ( #34814 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-04-09 05:44:49 +00:00
Jake Armstrong
c19a822e1b
refactor: deduplicate DefaultRetrievalModelDict TypedDict into retrieval_service.py ( #34758 )
2026-04-09 04:13:04 +00:00
dataCenter430
7ca5b726a2
refactor: convert ProviderQuota if/elif to match/case ( #30001 ) ( #34791 )
2026-04-09 02:28:19 +00:00
dataCenter430
0bdd1267fb
refactor: convert appmode plugin if/elif to match/case ( #30001 ) ( #34790 )
2026-04-09 02:28:03 +00:00
dataCenter430
2275c5b1a3
refactor: convert file-transfer-method-pipeline if/elif to match/case ( #30001 ) ( #34788 )
...
Co-authored-by: Asuka Minato <i@asukaminato.eu.org>
2026-04-09 01:43:52 +00:00
dataCenter430
1c7cf44af4
refactor: convert SegmentType controllers if/elif to match/case ( #30001 ) ( #34784 )
2026-04-09 01:11:47 +00:00
dataCenter430
fd2843b0fb
refactor: convert file-transfer-method-tools if/elif to match/case ( #30001 ) ( #34783 )
2026-04-09 00:42:13 +00:00
dataCenter430
47b9d48f70
refactor: convert ToolProviderType if/elif to match/case ( #30001 ) ( #34768 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Asuka Minato <i@asukaminato.eu.org>
2026-04-09 00:17:22 +00:00
carlos4s
02a9f0abca
refactor(api): use sessionmaker in core app generators & pipelines ( #34771 )
2026-04-08 23:15:58 +00:00
tmimmanuel
1a4eb47e1d
refactor(api): tighten types in trivial lint and config fixes ( #34773 )
...
Co-authored-by: tmimmanuel <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>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-04-08 23:14:44 +00:00
carlos4s
4c70bfa8b8
refactor(api): use sessionmaker in trigger provider service & dataset… ( #34774 )
2026-04-08 23:13:38 +00:00
zhangbububu
4fb3fab82d
fix: add backward-compatible query param for decode_plugin_from_ident… ( #34720 )
2026-04-08 13:28:37 +00:00