-LAN-
19171e0eb8
fix(quota): caps free quota
...
Signed-off-by: -LAN- <laipz8200@outlook.com>
2026-05-07 18:17:21 +08:00
-LAN-
b66c6760ad
chore: add some todo comments
...
Signed-off-by: -LAN- <laipz8200@outlook.com>
2026-05-07 18:16:59 +08:00
-LAN-
7e9ca69c14
refactor: remove unused code
...
Signed-off-by: -LAN- <laipz8200@outlook.com>
2026-05-07 18:16:59 +08:00
-LAN-
588ecc487f
chore(quota_layer): remove useless method
...
Signed-off-by: -LAN- <laipz8200@outlook.com>
2026-05-07 18:16:59 +08:00
-LAN-
f0442456df
fix: test
...
Signed-off-by: -LAN- <laipz8200@outlook.com>
2026-05-07 18:16:59 +08:00
-LAN-
ba84ecc63f
test(api): align node factory graphon data validation
...
Update the rebased node factory test to mirror Graphon node validation when asserting typed LLM node data construction.
2026-05-07 18:16:59 +08:00
-LAN-
c4e126ebe9
fix(api): stabilize quota CI coverage
...
Make the LLM quota matcher exhaustive for basedpyright and expand unit coverage across quota resolution and deduction branches. This addresses the failing Python style/type gate and raises patch coverage for the Graphon 0.3.0 upgrade branch.
2026-05-07 18:16:58 +08:00
-LAN-
3671809323
fix(api): abort quota-tracked nodes on missing model identity
...
Treat missing public model identity on quota-tracked workflow nodes as an execution bug instead of silently skipping quota handling.
Abort the workflow for both pre-run and post-run identity lookup failures and extend the layer tests to assert the stop-event and abort-command behavior.
2026-05-07 18:16:58 +08:00
-LAN-
33b3197be7
refactor(api): simplify llm quota helpers
...
Remove the temporary generic model-type quota helpers now that system-billed models are LLM-only.
Keep the deprecated ModelInstance wrappers as LLM-specific adapters with explicit non-LLM guards and update the quota tests to match the narrower invariant.
2026-05-07 18:16:58 +08:00
autofix-ci[bot]
53892af1f9
[autofix.ci] apply automated fixes
2026-05-07 18:16:58 +08:00
-LAN-
dc55adf9ae
refactor(api): include model type in quota identity
...
Add model-type-aware quota helpers at the shared billing boundary while keeping the LLM-specific helpers as thin adapters.
Preserve model_type in the deprecated ModelInstance wrappers and extend the quota unit tests to cover the generic helper delegation path.
2026-05-07 18:16:58 +08:00
-LAN-
9b65e53c12
refactor(api): decouple llm quota layer from model instances
...
Introduce tenant-scoped quota helpers that accept provider and model identity directly.
Refactor the workflow quota layer and engine wiring to use public node and event model identity instead of reconstructing ModelInstance, and keep the legacy ModelInstance helpers as deprecated wrappers with focused test coverage.
2026-05-07 18:16:58 +08:00
-LAN-
4839fcc4f8
docs(api): narrow llm quota spec to tenant-scoped identity
2026-05-07 18:16:57 +08:00
-LAN-
cbb026efbe
docs(api): add llm quota identity design spec
2026-05-07 18:16:57 +08:00
-LAN-
7f1112ab53
test(api): align plugin runtime adapter with chunked llm contract
2026-05-07 18:16:57 +08:00
-LAN-
9ffcea4647
fix(api): resolve graphon upgrade CI failures
...
Repair the plugin model runtime for Graphon 0.3.0 by implementing structured-output support, normalizing non-stream LLM calls, and tightening workflow-layer type safety.
Update the remaining workflow tests to use VariablePool.from_bootstrap(...) and the new node data constructor API so the CI unit and integration suites match the upgraded runtime behavior.
2026-05-07 18:16:57 +08:00
-LAN-
2c42b77f7d
chore(api): upgrade graphon to v0.3.0
...
Adapt the backend Graphon integration to the v0.3.0 breaking changes.
Migrate provider factory and runtime usage, switch workflow node construction to the new data payload API, and refresh backend tests for the updated VariablePool and node behaviors.
2026-05-07 18:16:57 +08:00
Escape0707
cd3327013a
chore(test): Move plugin permission tests to testcontainers ( #35884 )
2026-05-07 09:57:53 +00:00
yyh
cd66559ebf
refactor(web): migrate tag controls to combobox ( #35881 )
2026-05-07 08:55:13 +00:00
Joel
8b77ec7f31
fix: transfer workspace dropdown not show ( #35876 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-05-07 07:46:47 +00:00
yyh
bb3de5dd32
refactor: improve model selector search ( #35875 )
2026-05-07 07:05:14 +00:00
Stream
1e2d309122
chore: easier and simpler deploy ( #35708 )
2026-05-07 06:01:32 +00:00
yyh
a24ec60e51
feat: add dify-ui autocomplete and combobox ( #35868 )
2026-05-07 05:39:13 +00:00
Asuka Minato
8fd616d27f
refactor: add type to test ( #30873 )
...
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-05-07 03:46:23 +00:00
Stephen Zhou
e5bdc40dce
feat(dev-proxy): init package ( #35852 )
2026-05-07 03:32:14 +00:00
shawnYJ
376c43e5ac
fix(workflow): use correct field ID in KB metadata filter selection ( #34149 )
...
Co-authored-by: 非法操作 <hjlarry@163.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-05-07 02:21:30 +00:00
dependabot[bot]
3ebb449d25
chore(deps): bump gitpython from 3.1.47 to 3.1.49 in /api ( #35864 )
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-05-07 02:12:20 +00:00
dependabot[bot]
5297ac76ec
chore(deps): bump mako from 1.3.11 to 1.3.12 in /api ( #35863 )
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-05-07 02:11:55 +00:00
zyssyz123
bbed1d4a7c
fix: update endpoint when update tidb status ( #35854 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-05-07 01:54:07 +00:00
Asuka Minato
c804dbed8c
ci: bump tyck ( #35862 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-05-07 01:49:40 +00:00
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
github-actions[bot]
7e6745e105
chore(i18n): sync translations with en-US ( #35853 )
...
Co-authored-by: claude[bot] <41898282+claude[bot]@users.noreply.github.com>
2026-05-06 12:50:46 +00:00
Joel
d648ce6888
chore: improve the progress of education pay ( #35851 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-05-06 10:42:03 +00:00
Stephen Zhou
f3c3534e33
chore(web): add enterprise dev proxy support ( #35842 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-05-06 09:26:34 +00:00
yyh
8967ff34b3
fix(web): normalize dify-ui overlay control ( #35832 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-05-06 07:28:13 +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
yyh
03e227f8f1
fix(web): align Tailwind v4 CSS migration ( #35829 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-05-06 06:20:28 +00:00
非法操作
506e1a8bc7
fix: migrate condition operator popover ( #35828 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-05-06 06:16:28 +00:00
yyh
f8873ec07b
refactor(webapp): migrate partial overlays ( #35825 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-05-06 04:52:06 +00:00
yyh
b2dacf0718
chore(tailwind-css): migrate to css first ( #35754 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
2026-05-06 04:28:11 +00:00
Brandon
70eb98d6c5
fix(file_factory): drop doubled dot when standardizing datasource file extension ( #35808 )
...
Co-authored-by: Beandon13 <bzarnitz23@gmail.com>
2026-05-06 03:03:22 +00:00
非法操作
b83f296634
fix: restore workflow versions via backend API ( #35817 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-05-06 02:56:10 +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
wangxiaolei
4df7c00859
fix: fix test_sharded_channel failed ( #35814 )
2026-05-06 01:47:32 +00:00
yyh
995c43f3dd
refactor: migrate workflow queries to contracts ( #35799 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-05-05 14:53:38 +00:00
非法操作
c0431ec843
fix: workflow online users polling for large app lists ( #35786 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-05-05 10:48:14 +00:00
dependabot[bot]
a0af10abc8
chore(deps): bump the storage group across 1 directory with 2 updates ( #35791 )
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-05-05 10:00:42 +00:00
yyh
8e2b8168be
refactor(web): migrate HITL overlays to base dialog ( #35792 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-05-05 08:50:49 +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
yyh
90fe54ca9e
refactor(web): migrate workflow panel context menu primitive ( #35787 )
2026-05-04 23:12:26 +00:00