zyssyz123
9c0b01ef20
fix: When the user is a non-sandbox user and has a paid balance, the … ( #32173 )
...
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-02-10 15:36:40 +08:00
Novice
e86802ad27
chore(api): improve structured output tool call prompt and update handling in LLMNode
2026-02-10 15:25:56 +08:00
zyssyz123
7dabc03a08
fix: When the user is a non-sandbox user and has a paid balance, the … ( #32173 )
...
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-02-10 12:08:23 +08:00
yyh
78acba7a35
Merge remote-tracking branch 'origin/main' into feat/support-agent-sandbox
2026-02-10 11:07:45 +08:00
Dream
1a050c9f86
fix(api): clean up orphaned pending accounts on member removal ( #32151 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-02-10 10:17:27 +08:00
zhsama
d8765c8c16
Merge branch 'main' into feat/support-agent-sandbox
2026-02-10 01:03:44 +08:00
Shuvam Pandey
7fb6e0cdfe
refactor(api): tighten OTel decorator typing ( #32163 )
2026-02-10 00:46:02 +09:00
Harry
9614fe8e6e
feat: agent sandbox support HITL
2026-02-09 22:20:41 +08:00
Harry
5eeb6c56f0
feat: implement sandbox layer integration in app generators
2026-02-09 22:20:41 +08:00
Harry
29a6dd5648
fix: update Celery worker command to include new queue for workflow-based execution
2026-02-09 19:52:42 +08:00
Harry
92e58aa624
fix: update SSH worker command and add timeout handling
2026-02-09 19:52:42 +08:00
yyh
db0c527ce8
Merge remote-tracking branch 'origin/main' into feat/support-agent-sandbox
2026-02-09 18:43:04 +08:00
Harry
ef2fabc158
fix: adjustment the migration files
2026-02-09 18:24:31 +08:00
Vlad D
4ac461d882
fix(api): serialize pipeline file-upload created_at ( #32098 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-02-09 17:50:29 +08:00
Vlad D
fa763216d0
fix(api): register knowledge pipeline service API routes ( #32097 )
...
Co-authored-by: Crazywoola <100913391+crazywoola@users.noreply.github.com>
Co-authored-by: FFXN <31929997+FFXN@users.noreply.github.com>
2026-02-09 17:43:36 +08:00
wangxiaolei
d546210040
refactor: document_indexing_sync_task split db session ( #32129 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-02-09 17:12:16 +08:00
Harry
8a057ac242
fix: apply ruff
2026-02-09 17:01:07 +08:00
Harry
83c260ee4c
Merge remote-tracking branch 'origin/main' into feat/support-agent-sandbox
2026-02-09 17:00:56 +08:00
Harry
3c0b50ee77
feat(sandbox): add SSH agentbox provider for middleware and docker deployments
2026-02-09 16:38:05 +08:00
盐粒 Yanli
a303560b98
feat: Service API - add end-user lookup endpoint ( #32015 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-02-09 15:39:16 +08:00
QuantumGhost
a1fc280102
feat: Human Input Node ( #32060 )
...
The frontend and backend implementation for the human input node.
Co-authored-by: twwu <twwu@dify.ai>
Co-authored-by: JzoNg <jzongcode@gmail.com>
Co-authored-by: yyh <92089059+lyzno1@users.noreply.github.com>
Co-authored-by: zhsama <torvalds@linux.do>
2026-02-09 14:57:23 +08:00
盐粒 Yanli
5b06203ef5
feat: Service API - add end-user lookup endpoint ( #32015 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-02-09 14:01:22 +08:00
wangxiaolei
3348b89436
refactor: decouple database operations from knowledge retrieval nodes ( #31981 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-02-09 13:56:55 +08:00
yyh
f6b036b121
Merge remote-tracking branch 'origin/main' into feat/support-agent-sandbox
2026-02-09 11:35:42 +08:00
wangxiaolei
aead4fe65c
refactor: document_indexing_update_task split database session ( #32105 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-02-09 10:49:23 +08:00
wangxiaolei
483db22b97
feat: extract mcp tool usage ( #31802 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-02-09 09:52:14 +08:00
yyh
6e750814b3
Merge remote-tracking branch 'origin/main' into feat/support-agent-sandbox
2026-02-08 21:26:41 +08:00
wangxiaolei
aa800d838d
refactor: partition Celery task sessions into smaller, discrete execu… ( #32085 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-02-08 21:01:54 +08:00
yyh
7d2e630fc8
Merge remote-tracking branch 'origin/main' into feat/support-agent-sandbox
2026-02-08 13:27:02 +08:00
kongwenyan
4bd80683a4
refactor: remove unnecessary type: async_workflow_service.py ( #32081 )
2026-02-08 03:26:30 +09:00
yyh
d23a94982d
Merge remote-tracking branch 'origin/main' into feat/support-agent-sandbox
2026-02-08 01:30:21 +08:00
hjlarry
865b221ce6
fix: make sure restart server not get ghost online user
2026-02-07 09:48:07 +08:00
hjlarry
bb9ae66f81
fix: ensure leader online to accept graph change
2026-02-07 09:34:13 +08:00
Jyong
4430a1b3da
fix: batch delete document db session block ( #32062 )
2026-02-06 18:02:14 +08:00
Harry
c61129590d
fix: improve download filename handling in S3 storage and asset service
2026-02-06 16:32:55 +08:00
zyssyz123
2c9430313d
fix: redis for api token ( #31861 )
...
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: hj24 <mambahj24@gmail.com>
2026-02-06 16:25:27 +08:00
NeatGuyCoding
c2a3f459c7
fix(api): return proper HTTP 204 status code in DELETE endpoints ( #32012 )
...
Signed-off-by: NeatGuyCoding <15627489+NeatGuyCoding@users.noreply.github.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-02-06 15:32:52 +08:00
QuantumGhost
4971e11734
perf: use batch delete method instead of single delete ( #32036 )
...
Co-authored-by: fatelei <fatelei@gmail.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: FFXN <lizy@dify.ai>
2026-02-06 15:12:32 +08:00
yyh
871ec3b0ca
Merge remote-tracking branch 'origin/main' into feat/support-agent-sandbox
...
# Conflicts:
# api/controllers/console/app/app.py
# web/eslint-suppressions.json
# web/eslint.config.mjs
2026-02-06 14:40:44 +08:00
wangxiaolei
a297b06aac
fix: fix tool type is miss ( #32042 )
2026-02-06 14:38:15 +08:00
longbingljw
d9530f7bb7
fix: make `flask upgrade-db` fail on error ( #32024 )
2026-02-06 12:01:31 +08:00
wangxiaolei
b24e6edada
fix: fix agent node tool type is not right ( #32008 )
...
Infer real tool type via querying relevant database tables.
The root cause for incorrect `type` field is still not clear.
2026-02-06 11:24:39 +08:00
99
45164ce33e
refactor: strip external imports in workflow template transform ( #32017 )
2026-02-06 10:37:26 +08:00
Stream
6ac9bbfd5f
fix: fetch LLM node input correctly
2026-02-06 03:14:57 +08:00
99
095b3ee234
chore: Remove redundant double space in variable type description (core/variables/variables.py) ( #32002 )
2026-02-05 21:44:31 +08:00
QuantumGhost
cb970e54da
perf(api): Optimize the response time of AppListApi endpoint ( #31999 )
2026-02-05 19:05:09 +08:00
Stream
e04f2a0786
feat: use static manifest for pre-caching all plugin manifests before checking updates ( #31942 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Junyan Qin <rockchinq@gmail.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-02-05 18:58:17 +08:00
Harry
cb7c086377
feat: enhance file upload process with content type detection and command building
2026-02-05 18:00:45 +08:00
Harry
306ef79526
feat: add current user retrieval in EnvironmentVariableCollectionApi post method
2026-02-05 17:47:48 +08:00
Harry
06c31dfdb2
feat: refactor sandbox file handling to use pipeline execution and improve script utilities
2026-02-05 17:47:48 +08:00
wangxiaolei
be8f265e43
fix: fix uuid_generate_v4 only used in postgresql ( #31304 )
2026-02-05 17:32:33 +08:00
hjlarry
083154e57b
Revert "fix: image preview in artifacts panel"
...
This reverts commit 71f15741b0 .
2026-02-05 17:05:25 +08:00
yyh
e92b9afd4e
Merge remote-tracking branch 'origin/main' into feat/support-agent-sandbox
2026-02-05 15:33:01 +08:00
hjlarry
71f15741b0
fix: image preview in artifacts panel
2026-02-05 15:28:04 +08:00
Harry
d690b97568
feat: enhance file download functionality with pipeline execution and improved error handling
2026-02-05 15:15:37 +08:00
Harry
469fda8327
refactor: optimize unique name assignment for batch upload nodes using a stack
2026-02-05 15:15:37 +08:00
Harry
a750d87ae4
feat: ensure unique names for asset nodes during creation and batch upload
2026-02-05 15:15:37 +08:00
Harry
6b0e6b2785
fix: update file reading method to handle bytes format in E2BEnvironment
2026-02-05 15:15:37 +08:00
wangxiaolei
b886b3f6c8
fix: fix miss use db.session ( #31971 )
2026-02-05 14:42:34 +08:00
yyh
61cfbd1c8d
Merge remote-tracking branch 'origin/main' into feat/support-agent-sandbox
2026-02-05 10:51:28 +08:00
Xiyuan Chen
c56ad8e323
feat: account delete cleanup ( #31519 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-02-04 17:59:41 -08:00
hjlarry
21a723fb26
fix: icon_url of llm node log detail page incorrect
2026-02-05 09:09:32 +08:00
zhsama
a2380c4fd3
fix: ensure sub-graph modal syncs immediately when
...
applying generated code.
2026-02-05 06:07:15 +08:00
Stream
5fdcedcbed
fix: generate code node that returns correctly
2026-02-05 02:01:31 +08:00
Stream
47fffedd2e
fix: context generate questions
2026-02-05 01:26:54 +08:00
Stream
15c0011897
feat: implement file structured output
2026-02-05 00:11:39 +08:00
Stream
e0082dbf18
revert: add tools for output in agent mode
...
feat: hide output tools and improve JSON formatting for structured output
feat: hide output tools and improve JSON formatting for structured output
fix: handle prompt template correctly to extract selectors for step run
fix: emit StreamChunkEvent correctly for sandbox agent
chore: better debug message
fix: incorrect output tool runtime selection
fix: type issues
fix: align parameter list
fix: align parameter list
fix: hide internal builtin providers from tool list
vibe: implement file structured output
vibe: implement file structured output
fix: refix parameter for tool
fix: crash
fix: crash
refactor: remove union types
fix: type check
Merge branch 'feat/structured-output-with-sandbox' into feat/support-agent-sandbox
fix: provide json as text
fix: provide json as text
fix: get AgentResult correctly
fix: provides correct prompts, tools and terminal predicates
fix: provides correct prompts, tools and terminal predicates
fix: circular import
feat: support structured output in sandbox and tool mode
2026-02-04 21:43:53 +08:00
yyh
25065a4f2f
Merge remote-tracking branch 'origin/main' into feat/support-agent-sandbox
...
# Conflicts:
# web/app/components/workflow-app/hooks/use-nodes-sync-draft.ts
# web/contract/router.ts
2026-02-04 21:12:53 +08:00
QuantumGhost
3bd228ddb7
chore: bump version in docker-compose and package manager to 1.12.1 ( #31947 )
2026-02-04 19:29:28 +08:00
wangxiaolei
0dfa59b1db
fix: fix delete_draft_variables_batch cycle forever ( #31934 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-02-04 19:10:27 +08:00
yyh
625163705b
Merge remote-tracking branch 'origin/main' into feat/support-agent-sandbox
2026-02-04 16:59:23 +08:00
非法操作
0d74ac634b
fix: missing import console_ns ( #31916 )
2026-02-04 16:08:00 +08:00
Stream
8850a0c5c7
feat: hide output tools and improve JSON formatting for structured output
2026-02-04 15:42:55 +08:00
Stream
4466688e97
feat: hide output tools and improve JSON formatting for structured output
2026-02-04 15:12:50 +08:00
Sean Kenneth Doherty
778aabb485
refactor(api): replace reqparse with Pydantic models in trial.py ( #31789 )
...
Co-authored-by: Asuka Minato <i@asukaminato.eu.org>
2026-02-04 14:36:52 +08:00
hjlarry
dee3e026a6
chore: use AccountWithRole instead of account_with_role_fields
2026-02-04 14:11:32 +08:00
Harry
75d2148ef6
fix: add account_with_role_fields for enhanced user data representation
2026-02-04 13:54:04 +08:00
Harry
60a5d5c67c
refactor: replace reqparse with Pydantic models in dsl and sandbox_providers
2026-02-04 13:23:07 +08:00
Harry
8c6139fa21
chore: update pnpm-lock and remove unused import after merge
2026-02-04 13:16:55 +08:00
Harry
c111079624
Merge remote-tracking branch 'origin/main' into feat/support-agent-sandbox
...
# Conflicts:
# api/core/file/file_manager.py
# api/core/workflow/graph_engine/response_coordinator/coordinator.py
# api/core/workflow/nodes/llm/node.py
# api/core/workflow/nodes/tool/tool_node.py
# api/pyproject.toml
# web/package.json
# web/pnpm-lock.yaml
2026-02-04 13:15:49 +08:00
Stream
7535b67423
fix: handle prompt template correctly to extract selectors for step run
...
idk why. This may cause further issues.
2026-02-04 07:23:02 +08:00
Asuka Minato
f5d6c250ed
fix: "refactor: port api/controllers/console/tag/tags.py to ov3" ( #31887 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-02-03 22:18:53 +08:00
Stream
9172997f24
fix: emit StreamChunkEvent correctly for sandbox agent
2026-02-03 21:52:15 +08:00
Harry
b6b2af45a7
refactor: use jsonable_encoder for consistent JSON response formatting in SandboxFilesApi
2026-02-03 18:32:49 +08:00
QuantumGhost
8c3e77cd0c
chore: update version to 1.12.0 ( #31878 )
2026-02-03 18:08:15 +08:00
Harry
10f5d9e7ad
fix: stream never ruff
2026-02-03 14:42:30 +08:00
Harry
49befa6d3f
feat: enhance download URL generation with optional filename parameter
...
Added support for an optional `download_filename` parameter in the `get_download_url` and `get_download_urls` methods across various storage classes. This allows users to specify a custom filename for downloads, improving user experience by enabling better file naming during downloads. Updated related methods and tests to accommodate this new functionality.
2026-02-03 14:40:14 +08:00
Stephen Zhou
b55c0ec4de
fix: revert "refactor: api/controllers/console/feature.py (test)" ( #31850 )
2026-02-03 12:26:47 +08:00
dependabot[bot]
8b50c0d920
chore(deps-dev): bump types-psutil from 7.0.0.20251116 to 7.2.2.20260130 in /api ( #31814 )
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-02-03 09:59:29 +08:00
Asuka Minato
47f8de3f8e
refactor: port api/controllers/console/app/annotation.py api/controllers/console/explore/trial.py api/controllers/console/workspace/account.py api/controllers/console/workspace/members.py api/controllers/service_api/app/annotation.py to basemodel ( #31833 )
...
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-02-03 09:59:00 +08:00
Asuka Minato
491fa9923b
refactor: port api/controllers/console/datasets/data_source.py /datasets/metadata.py /service_api/dataset/metadata.py /nodes/agent/agent_node.py api/core/workflow/nodes/datasource/datasource_node.py api/services/dataset_service.py to match case ( #31836 )
2026-02-02 21:03:16 +09:00
Asuka Minato
ce2c41bbf5
refactor: port api/controllers/console/datasets/datasets_document.py api/controllers/service_api/app/annotation.py api/core/app/app_config/easy_ui_based_app/agent/manager.py api/core/app/apps/pipeline/pipeline_generator.py api/core/workflow/nodes/knowledge_retrieval/knowledge_retrieval_node.py to match case ( #31832 )
2026-02-02 19:07:30 +09:00
Asuka Minato
920db69ef2
refactor: if to match ( #31799 )
2026-02-02 18:12:03 +09:00
Asuka Minato
ac222a4dd4
refactor: port api/controllers/console/app/audio.py api/controllers/console/app/message.py api/controllers/console/auth/data_source_oauth.py api/controllers/console/auth/forgot_password.py api/controllers/console/workspace/endpoint.py ( #30680 )
2026-02-02 18:03:07 +09:00
Stream
beba89cc0a
chore: better debug message
2026-02-02 16:39:50 +08:00
Asuka Minato
840a975fef
refactor: add test for api/controllers/console/workspace/tool_pr… ( #29886 )
...
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-02-02 14:54:16 +09:00
QuantumGhost
9fb72c151c
refactor: "chore: update version to 1.12.0" ( #31817 )
2026-02-02 11:18:18 +08:00
FFXN
41177757e6
fix: summary index bug ( #31810 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Jyong <76649700+JohnJyong@users.noreply.github.com>
Co-authored-by: zxhlyh <jasonapring2015@outlook.com>
Co-authored-by: Yansong Zhang <916125788@qq.com>
Co-authored-by: hj24 <mambahj24@gmail.com>
Co-authored-by: CodingOnStar <hanxujiang@dify.ai>
Co-authored-by: CodingOnStar <hanxujiang@dify.com>
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
2026-02-02 09:45:17 +08:00
yyh
4f826b4641
refactor(typing): use enum types for workflow status fields ( #31792 )
2026-02-02 09:41:34 +08:00
Stream
6ea16837ff
fix: incorrect output tool runtime selection
2026-02-02 09:09:22 +08:00