Commit Graph

728 Commits

Author SHA1 Message Date
8513fa2897 feat: add support for file outputs in LLMNode, including auto-collection and deduplication 2026-03-11 16:30:54 +08:00
dbc87dbd3b feat: update LLM node skills API to extract tool dependencies and change endpoint to POST 2026-03-11 14:41:33 +08:00
yyh
2e0661aa90 refactor(web): align MCP availability context migration
- move MCP availability context to block-selector/context and update imports

- preserve sandbox gating, parent-provider inheritance, and blockedBy semantics

- add context tests on top of refactor baseline cases

- regenerate and prune eslint suppressions
2026-02-23 22:46:31 +08:00
yyh
e730124740 Merge remote-tracking branch 'origin/main' into feat/support-agent-sandbox
# Conflicts:
#	api/uv.lock
#	web/app/components/apps/__tests__/app-card.spec.tsx
#	web/app/components/apps/__tests__/list.spec.tsx
#	web/app/components/datasets/create/__tests__/index.spec.tsx
#	web/app/components/datasets/metadata/metadata-dataset/__tests__/dataset-metadata-drawer.spec.tsx
#	web/app/components/plugins/readme-panel/__tests__/index.spec.tsx
#	web/app/components/rag-pipeline/__tests__/index.spec.tsx
#	web/app/components/rag-pipeline/hooks/__tests__/index.spec.ts
#	web/eslint-suppressions.json
2026-02-13 15:17:52 +08:00
yyh
15dff1d59f refactor(web): use granular zustand selector for sandbox toggle 2026-02-13 14:20:32 +08:00
9e0f906fac feat: update tooltips for better clarity 2026-02-13 14:12:42 +08:00
535436ea1d fix: Fix PromptEditor remount when readOnly prop changes 2026-02-12 19:10:10 +08:00
8fd3eeb760 fix: can not upload file in single run (#32276) 2026-02-12 17:23:01 +08:00
c02a96a916 feat: Exclude reasoning_format from LLM nodes when sandbox enabled 2026-02-11 21:16:58 +08:00
17ba8af331 Revert "Merge branch 'zhsama/remove-reasoning-ui' into feat/support-agent-sandbox"
This reverts commit f6b0fda9f7, reversing
changes made to f359bbc5de.
2026-02-11 21:16:57 +08:00
29d6d030f8 fix: llm node output variable 2026-02-11 16:37:27 +08:00
yyh
29406dbc46 Merge remote-tracking branch 'origin/main' into feat/support-agent-sandbox
# Conflicts:
#	api/core/app/task_pipeline/easy_ui_based_generate_task_pipeline.py
2026-02-11 12:44:05 +08:00
439d931e9f fix: support tool call badge & disable tools in llm when model not support tool call 2026-02-11 10:46:55 +08:00
16b8733886 fix: Fix the display of state icon of base node (#32208) 2026-02-10 22:45:56 +08:00
2da770cdbd feat: add File Upload node functionality and related components
- Implemented File Upload node with support for uploading files to the sandbox.
- Added necessary UI components including node panel and default configurations.
- Enhanced workflow constants and enums to include File Upload.
- Updated error handling for file upload operations.
- Integrated File Upload into existing workflow structure, ensuring compatibility with variable handling and output management.
- Added translations for new File Upload features in workflow.json.
2026-02-10 20:51:31 +08:00
8d0e646912 fix: Fix sub graph code node step error 2026-02-10 19:45:46 +08:00
yyh
cbcb5a71c3 fix test 2026-02-10 18:18:27 +08:00
yyh
2ab0b334a8 Merge remote-tracking branch 'origin/main' into feat/support-agent-sandbox
# Conflicts:
#	web/app/components/rag-pipeline/components/update-dsl-modal.tsx
#	web/app/components/workflow-app/hooks/use-nodes-sync-draft.ts
#	web/app/components/workflow/variable-inspect/utils.tsx
#	web/app/layout.tsx
#	web/context/event-emitter.tsx
#	web/eslint-suppressions.json
#	web/next.config.ts
#	web/package.json
#	web/pnpm-lock.yaml
#	web/types/feature.ts
2026-02-10 18:12:41 +08:00
5077879886 chore: allow draft run single node without connect to other node (#31977) 2026-02-10 18:03:52 +08:00
f355c8d595 refactor: type safe env, update to zod v4 (#32035) 2026-02-10 17:55:11 +08:00
c980f1b2ac feat: support enable agent mode show tip in prompt editor 2026-02-10 17:02:12 +08:00
de33561a52 test: add comprehensive tests for Human Input Node functionality (#32191) 2026-02-10 17:00:46 +08:00
f6b0fda9f7 Merge branch 'zhsama/remove-reasoning-ui' into feat/support-agent-sandbox 2026-02-10 00:59:08 +08:00
f359bbc5de Merge branch 'zhsama/structured-var-search' into feat/support-agent-sandbox 2026-02-10 00:56:14 +08:00
fff2c11d9c refactor(web): remove LLM reasoning format config and clean up locale strings 2026-02-09 23:57:27 +08:00
001950d9f8 feat(workflow): support nested variable path search in variable reference picker 2026-02-09 23:50:08 +08:00
41b218f427 feat: LLM node to only show generation output var when computer use is
enabled, matching the actual output structure.
2026-02-09 23:40:42 +08:00
a71f336ee0 chore: Add chat history display name mapping for workflow variables 2026-02-09 23:24:53 +08:00
cce7970f77 chore: Rename context variable to Chat History in UI 2026-02-09 23:24:53 +08:00
yyh
db0c527ce8 Merge remote-tracking branch 'origin/main' into feat/support-agent-sandbox 2026-02-09 18:43:04 +08:00
yyh
ca243d7efc chore(web): pre-align HITL frontend from build/feat/hitl 2026-02-09 15:34:15 +08:00
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
68f7f2f19b feat: Unify sandbox detection and apply Agent icon override 2026-02-08 02:59:58 +08:00
dae2e3b6fb feat: support choose var in tool config in sandbox prompt editor 2026-02-06 17:52:35 +08:00
fef42a05ee chore: max interatons default to 100 2026-02-06 16:13:22 +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
7446779198 perf: Update agent extraction UI styling and labels 2026-02-05 16:57:20 +08:00
882ad92c24 feat: can show file preview 2026-02-05 15:44:10 +08:00
a2380c4fd3 fix: ensure sub-graph modal syncs immediately when
applying generated code.
2026-02-05 06:07:15 +08:00
52b34b1fdb fix: Handle format for context generate outputs 2026-02-05 06:07:13 +08:00
0618b2532f feat: Add Enter key handler support to assemble variables generate modal 2026-02-05 01:36:13 +08:00
15c0011897 feat: implement file structured output 2026-02-05 00:11:39 +08:00
10fb482351 perf: Remove deprecated optional props in LLM node tool config 2026-02-04 22:36:19 +08:00
9bd714623e feat: Add mutual exclusion between structured output and tools in LLM
node
2026-02-04 22:36:19 +08:00
yyh
8a9e0e3b31 Merge remote-tracking branch 'origin/main' into feat/support-agent-sandbox
# Conflicts:
#	web/eslint-suppressions.json
2026-02-04 18:15:32 +08:00
23f98652e1 perf: Add null check for onAssembleVariables callback 2026-02-04 17:52:13 +08:00
cc5705cb71 fix: auto summary env (#31930) 2026-02-04 17:47:38 +08:00
74b027c41a fix: fix mcp output schema is union type frontend crash (#31779)
Co-authored-by: Stephen Zhou <38493346+hyoban@users.noreply.github.com>
2026-02-04 17:33:41 +08:00
b96459b656 fix: Fix sub-graph variable null check logic 2026-02-04 15:22:27 +08:00
31177462e1 fix: clean up mixed variable extractor code 2026-02-03 15:26:15 +08:00