b69ee7f9aa
fix(api): filter Graphon workflow response events
...
Apply Graphon ResponseStreamFilter to workflow-based app runners so workflow execution consumes filtered graph events in both streaming and blocking paths.
Pin Graphon to the PR revision while the change waits for the 0.5.0 release, and update unit coverage for the filtered event stream behavior.
2026-05-16 20:45:05 +08:00
dd556dafb3
Merge branch 'main' into codex/upgrade-graphon-0-4-0
2026-05-15 23:35:15 +08:00
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
27b084c4d4
fix: reduce db roundtrips of message update ( #36213 )
2026-05-15 08:39:48 +00:00
9aa91d5231
fix(api): address graphon review feedback
2026-05-15 13:33:51 +08:00
0d500e6965
fix(api): allow LLM nodes to access retrieved knowledge files ( #36175 )
2026-05-14 13:09:25 +00:00
e2f5fbcf8b
chore(api): upgrade graphon to 0.4.0
2026-05-14 16:43:53 +08:00
af4b9bfa8f
chore: Remove pyright in favor of pyrefly ( #36154 )
2026-05-14 05:49:08 +00:00
934a20e745
fix: restore tracing after HITL workflow resume ( #36064 )
...
Co-authored-by: -LAN- <laipz8200@outlook.com >
2026-05-13 03:23:32 +00:00
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
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
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
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
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
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
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
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
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
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
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
62bb830338
refactor: convert InvokeFrom if/elif to match/case ( #35143 )
2026-04-14 07:46:58 +00:00
ed401728eb
refactor: replace bare dict with typed annotations in app_config/extension/provider ( #35099 )
2026-04-14 06:11:00 +00:00
ac2258c2dc
refactor: replace bare dict with dict[str, Any] in app_config managers ( #35087 )
2026-04-13 17:14:39 +00:00
3c279edcf2
refactor: replace bare dict with dict[str, Any] in app task_entities … ( #35084 )
2026-04-13 17:14:23 +00:00
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
d1e33ba9ea
refactor(api): reduce Dify GraphInitParams usage ( #34825 )
2026-04-09 07:59:15 +00:00
7ca5b726a2
refactor: convert ProviderQuota if/elif to match/case ( #30001 ) ( #34791 )
2026-04-09 02:28:19 +00:00
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
02a9f0abca
refactor(api): use sessionmaker in core app generators & pipelines ( #34771 )
2026-04-08 23:15:58 +00:00
c825d5dcf6
refactor(api): tighten types for Tenant.custom_config_dict and MCPToolProvider.headers ( #34698 )
2026-04-08 01:36:42 +00:00
80a7843f45
refactor(api): migrate consumers to shared RAG domain entities from core/rag/entities/ ( #34692 )
2026-04-07 23:22:56 +00:00
19c80f0f0e
refactor(api): type error stream response with TypedDict ( #34641 )
2026-04-07 05:57:42 +00:00
84d8940dbf
refactor(api): type app parameter feature toggles with FeatureToggleD… ( #34651 )
2026-04-07 05:53:50 +00:00
b55bef4438
refactor: migrate session.query to select API in core misc modules ( #34608 )
2026-04-07 04:08:34 +00:00
8f9dbf269e
chore(api): align Python support with 3.12 ( #34419 )
...
Co-authored-by: Asuka Minato <i@asukaminato.eu.org >
2026-04-02 05:07:32 +00:00
4bd388669a
refactor: core/app pipeline, core/datasource, and core/indexing_runner ( #34359 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-04-01 02:20:56 +00:00
5897b28355
refactor: use EnumText for Provider.quota_type and consolidate ProviderQuotaType ( #34299 )
2026-03-31 00:29:57 +00:00
ae9a16a397
fix: upgrade langfuse SDK to v3+ for LLM-as-judge support ( #34265 )
...
Signed-off-by: majiayu000 <1835304752@qq.com >
2026-03-30 13:06:55 +00:00
40591a7c50
refactor(api): use standalone graphon package ( #34209 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-03-27 21:05:32 +00:00
fcfc96ca05
chore: remove stale mypy suppressions and align dataset service tests ( #34130 )
2026-03-26 12:34:44 +00:00
5341cd015b
fix: dataset query created_by empty UUID in iteration subgraph ( #34004 ) ( #34044 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-03-26 14:57:19 +08:00
52e7492cbc
refactor(api): rename dify_graph to graphon ( #34095 )
2026-03-25 21:58:56 +08:00
56593f20b0
refactor(api): continue decoupling dify_graph from API concerns ( #33580 )
...
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-03-25 20:32:24 +08:00
d87263f7c3
refactor: select in console datasets document controller ( #34029 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-03-25 12:47:25 +09:00
36cc1bf025
test: unit test cases for sub modules in core.app (except core.app.apps) ( #32476 )
2026-03-25 02:13:28 +08:00
7fe25f1365
fix(rate_limit): flush redis cache when __init__ is triggered by changing max_active_requests ( #33830 )
...
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.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>
2026-03-24 15:08:55 +08:00
20fc69ae7f
refactor: use EnumText for WorkflowAppLog.created_from and WorkflowArchiveLog columns ( #33954 )
2026-03-24 02:44:46 +09:00
f41d1d0822
refactor: use EnumText for Conversation/Message invoke_from and from_source ( #33832 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Asuka Minato <i@asukaminato.eu.org >
2026-03-21 11:47:48 +09:00
8c9831177a
fix(api): preserve citation metadata in web responses ( #33778 )
...
Co-authored-by: AI Assistant <bot@demo.com >
2026-03-20 10:49:12 +08:00