gaurav0107
02fa84d853
refactor: use MetadataFilteringCondition BaseModel in RetrievalService.external_retrieve
...
Follow the dict -> Pydantic BaseModel pattern established by #31514 , #34080
and #34422 : RetrievalService.external_retrieve now accepts
metadata_filtering_conditions: MetadataFilteringCondition | None directly
instead of dict[str, Any] | None.
The redundant internal MetadataFilteringCondition.model_validate(...) call
is removed; validation now happens at the call site in
HitTestingService.external_retrieve, following the "validate at the
boundary" principle cited in the issue.
Unit tests are updated to pass typed instances where appropriate and a
regression test is added for the None path. Behavior is otherwise
preserved. external_retrieval_model is left as dict[str, Any] because it
is an opaque payload forwarded to external retrieval providers.
Fixes part of #31497 .
2026-05-07 10:31:37 +05:30
yyh
00bf3f83f2
refactor: verticalize tag management and batch bindings ( #35840 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-05-07 01:36:10 +00:00
Prince Pal
54bde0bdf6
fix(api): preserve dataset metadata filters ( #35700 )
2026-05-01 09:20:14 +00:00
Asuka Minato
3b1458c08f
refactor: port WorkflowDraftVariableFile ( #30923 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-04-29 22:21:20 +00:00
hj24
b1b977e284
refactor: quota v3 integration ( #35436 )
...
Co-authored-by: Yansong Zhang <916125788@qq.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-04-27 01:49:40 +00:00
Asuka Minato
7efc887e32
refactor: port MessageAnnotation ( #31005 )
...
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-04-26 11:47:42 +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
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
非法操作
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
zyssyz123
44a91e344c
fix(plugin): persist tenant plugin auto-upgrade strategy changes ( #35464 )
2026-04-21 09:28:44 +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
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
zyssyz123
e561788809
fix(auth): enforce phase-bound change-email token flow (GHSA-4q3w-q5mc-45rq) ( #35425 )
2026-04-20 10:10:03 +00:00
hyl64
ceec00e172
fix: accept icon type in app icon updates ( #35360 )
...
Co-authored-by: Stephen Zhou <hi@hyoban.cc>
2026-04-20 02:33:49 +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
非法操作
f980d5d3be
feat: copy nodes cross apps ( #33273 )
...
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-17 10:02:26 +00:00
YBoy
0020aa8f59
refactor(api): type pipeline template retrieval dicts with TypedDict ( #34874 )
2026-04-17 08:13:54 +00:00
sxxtony
90d638fba3
refactor: migrate DocumentSegmentSummary to TypeBase ( #34862 )
2026-04-17 06:58:32 +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
非法操作
53a22aa41b
feat: collaboration ( #30781 )
...
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>
Co-authored-by: yyh <yuanyouhuilyz@gmail.com>
Co-authored-by: yyh <92089059+lyzno1@users.noreply.github.com>
2026-04-16 02:21:04 +00:00
zyssyz123
79332c0e5e
fix: Change 'commit' to 'flush' to prevent subsequent transaction fai… ( #35243 )
2026-04-15 07:50:52 +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
wdeveloper16
1bcc7f78c7
refactor: replace bare dict with dict[str, Any] in models, providers, extensions, libs, and test utilities ( #35186 )
2026-04-14 17:51:25 +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
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
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
2f682780fa
refactor: replace bare dict with dict[str, Any] in rag_pipeline and datasource_provider services ( #35107 )
2026-04-14 03:02:41 +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
wdeveloper16
1c2bbed405
refactor: replace bare dict with dict[str, Any] in services grab-bag ( #35112 )
2026-04-14 03:02:34 +00:00
wdeveloper16
d8fbc00cb9
refactor: replace bare dict with dict[str, Any] in dataset and external_knowledge services ( #35073 )
2026-04-13 17:08:45 +00:00
wdeveloper16
57c5f0ec87
refactor: replace bare dict with dict[str, Any] in tools manage services ( #35075 )
2026-04-13 17:08:31 +00:00
wdeveloper16
e5bd80c719
refactor: replace bare dict with dict[str, Any] in website_service ( #35074 )
2026-04-13 17:07:59 +00:00
wdeveloper16
e1eb582bea
refactor: replace bare dict with dict[str, Any] in pipeline_template module ( #35071 )
2026-04-13 14:05:59 +00:00
wdeveloper16
d412cddf39
refactor: replace bare dict with UtmInfo TypedDict in operation_service ( #35055 )
2026-04-13 13:05:47 +00:00
wdeveloper16
671c5cdd84
refactor: replace bare dict with WorkflowRunListArgs TypedDict ( #35057 )
2026-04-13 13:05:39 +00:00
wdeveloper16
554f060092
refactor: replace bare dict with AdvancedPromptTemplateArgs TypedDict ( #35056 )
2026-04-13 13:05:23 +00:00
wdeveloper16
dd50a68bf2
refactor: replace bare dict with dict[str, Any] in ops_service tracin… ( #35064 )
2026-04-13 13:01:00 +00:00
wdeveloper16
e8dd3461e8
refactor: replace bare dict with dict[str, Any] in plugin endpoint_service ( #35065 )
2026-04-13 13:00:27 +00:00
-LAN-
8dd4473432
refactor(auth): standardize failed login audit logging ( #35054 )
2026-04-13 12:26:13 +00:00
Xin@@Gar
f0266e13c5
refactor: improve type annotations in HitTestingService ( #27838 )
...
Co-authored-by: Asuka Minato <i@asukaminato.eu.org>
2026-04-13 10:31:31 +00:00
hj24
815c536e05
fix: optimize trigger long running read transactions ( #35046 )
2026-04-13 08:22:54 +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
dev-miro26
f4d5e2f43d
refactor(api): improve type safety in MCPToolManageService.execute_auth_actions ( #34824 )
2026-04-13 05:29:10 +00:00
HeYinKazune
a111d56ea3
refactor: use sessionmaker in workflow_tools_manage_service.py ( #34896 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-04-13 03:47:29 +00:00
wdeveloper16
8436470fcb
refactor: replace bare dict with TypedDicts in annotation_service ( #34998 )
2026-04-13 03:46:33 +00:00
-LAN-
8c4ea5c898
fix: external dataset tenant checks for bound knowledge APIs ( #34734 )
2026-04-13 01:47:57 +00:00
GDS K S
0862fd74b0
refactor: migrate _model_to_insertion_dict return type to TypedDict ( #34988 )
2026-04-12 09:50:55 +00:00