aqiu
cd030d82e5
refactor(vibe): extract workflow generation to dedicated module
...
- Move workflow generation logic from LLMGenerator to WorkflowGenerator
- Extract to api/core/workflow/generator/ with modular architecture
- Implement Planner-Builder pattern for better separation of concerns
- Add validation engine with rule-based error classification
- Add node and edge repair utilities for auto-fixing common issues
- Add deterministic Mermaid generator for consistent output
- Reorganize configuration and prompts
- Move vibe_config/ to generator/config/
- Move vibe_prompts.py to generator/prompts/ (split into multiple files)
- Add builder_prompts.py and planner_prompts.py for new architecture
- Enhance frontend workflow handling
- Use standard node initialization for proper node setup
- Improve variable reference replacement with better error handling
- Add model fallback logic for better compatibility
- Handle end node outputs format (value_selector vs legacy format)
- Ensure parameter-extractor nodes have required 'required' field
- Add comprehensive test coverage
- Unit tests for mermaid generator, node repair, edge repair
- Tests for validation engine and rule system
- Tests for planner prompts formatting
- Frontend tests for variable reference replacement
- Add max_fix_iterations parameter for validate-fix loop configuration
# Conflicts:
# web/app/components/workflow/hooks/use-workflow-vibe.tsx
2025-12-29 11:04:42 +08:00
aqiu
c4eee28fd8
refactor(vibe): modularize config and enhance workflow generation
...
- Extract vibe configuration into dedicated module (api/core/llm_generator/vibe_config/)
- node_schemas.py: Built-in node parameter definitions
- fallback_rules.py: Keyword-based fallback rules and aliases
- responses.py: Off-topic response templates
- node_definitions.json: Shared schema for frontend/backend sync
- Enhance workflow generation with intent classification
- Add off-topic detection with helpful suggestions
- Support regeneration mode with previous workflow context
- Add tool validation and sanitization
- Support language preference for generated content
- Extract frontend config to use-workflow-vibe-config.ts
- NODE_TYPE_ALIASES: Node type inference mapping
- FIELD_NAME_CORRECTIONS: LLM output field corrections
- correctFieldName(): Unified field correction helper
- Fix defensive null checks in variable utils and key-value list
- Change verbose debug logs from info to debug level
2025-12-29 11:04:41 +08:00
crazywoola
a5c6c8638e
feat: v1
2025-12-29 10:42:21 +08:00
Asuka Minato
f0d02b4b91
refactor: split changes for api/controllers/console/explore/message.py ( #29890 )
2025-12-26 11:02:12 +08:00
Asuka Minato
d100354851
refactor: split changes for api/controllers/console/explore/saved_mes… ( #29889 )
2025-12-26 11:00:31 +08:00
Asuka Minato
93d1b2fc32
refactor: split changes for api/controllers/console/workspace/load_ba… ( #29887 )
...
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
2025-12-26 11:00:03 +08:00
zhaobingshuang
fa1009b938
fix(dataset): dataset tags service_api error "Dataset not found" ( #30028 )
...
Co-authored-by: zbs <zbs@cailian.onaliyun.com>
Co-authored-by: crazywoola <100913391+crazywoola@users.noreply.github.com>
2025-12-26 10:55:42 +08:00
wangxiaolei
bdd8a35b9d
feat: add mcp tool display directly ( #30019 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-12-26 10:41:10 +08:00
Asuka Minato
7e06225ce2
refactor: part of remove all reqparser ( #29847 )
2025-12-25 19:57:07 +08:00
-LAN-
1ebc17850b
fix(api): force download for HTML previews ( #30090 )
...
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
2025-12-25 11:43:07 +08:00
Maries
02e0fadef7
feat: add editing support for trigger subscriptions ( #29957 )
...
Co-authored-by: yyh <yuanyouhuilyz@gmail.com>
2025-12-24 19:15:54 +08:00
Rhys
a5309bee25
fix: handle missing `credential_id` ( #30051 )
...
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
2025-12-24 11:21:51 +08:00
Asuka Minato
037b8ae9e2
refactor: split changes for api/controllers/web/forgot_password.py ( #29858 )
2025-12-24 09:41:51 +08:00
Asuka Minato
0a448a13c8
refactor: split changes for api/controllers/console/extension.py ( #29888 )
2025-12-24 09:41:42 +08:00
Asuka Minato
de021ff3e0
refactor: split changes for api/controllers/web/remote_files.py ( #29853 )
2025-12-23 21:30:30 +09:00
非法操作
d005689d0a
chore: remove unused login call from activation flow ( #30017 )
2025-12-23 12:26:52 +08:00
wangxiaolei
65e8fdc0e4
feat: support var filer in conversation service ( #29245 )
2025-12-22 21:48:11 +08:00
Asuka Minato
accc91e89d
refactor: split changes for api/controllers/web/message.py ( #29874 )
2025-12-22 21:47:24 +08:00
Asuka Minato
95c58eac83
refactor: split changes for api/controllers/web/app.py ( #29857 )
2025-12-22 20:09:58 +08:00
Novice
0ab80fe5c0
fix: invalidate tool provider cache after MCP authentication ( #29972 )
2025-12-22 12:38:42 +08:00
Asuka Minato
ba73964dfd
refactor: split changes for api/controllers/console/explore/conversat… ( #29893 )
2025-12-22 09:40:41 +08:00
Asuka Minato
4cf65f0137
refactor: split changes for api/controllers/console/explore/installed… ( #29891 )
...
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
2025-12-22 09:40:32 +08:00
Novice
7501360663
fix: add RFC 9728 compliant well-known URL discovery with path insertion fallback ( #29960 )
2025-12-21 09:19:11 +08:00
Asuka Minato
4320503209
refactor: split changes for api/controllers/console/explore/completio… ( #29894 )
2025-12-19 17:51:13 +08:00
Asuka Minato
3b8650eb6b
refactor: split changes for api/controllers/web/completion.py ( #29855 )
2025-12-19 12:16:12 +08:00
Asuka Minato
82220a645c
refactor: split changes for api/controllers/web/audio.py ( #29856 )
...
Co-authored-by: crazywoola <100913391+crazywoola@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>
2025-12-18 17:30:58 +08:00
quicksand
b0bef1a120
fix(api): resolve errors when setting visibility to partial members ( #29830 )
2025-12-18 16:56:24 +08:00
Asuka Minato
a954bd0616
refactor: part of remove all reqparser ( #29848 )
...
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-12-18 16:52:51 +08:00
FFXN
a93eecaeee
feat: Add "type" field to PipelineRecommendedPlugin model; Add query param "type" to recommended-plugins api. ( #29736 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Jyong <76649700+JohnJyong@users.noreply.github.com>
2025-12-17 11:26:08 +08:00
Ryusei Hashimoto
86131d4bd8
feat: add datasource_parameters handling for API requests ( #29757 )
...
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
2025-12-17 10:37:55 +08:00
zyssyz123
b7649f61f8
fix: Login secret text transmission ( #29659 )
...
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: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
Co-authored-by: Joel <iamjoel007@gmail.com>
Co-authored-by: -LAN- <laipz8200@outlook.com>
2025-12-16 16:55:51 +08:00
Jyong
ae4a9040df
Feat/update notion preview ( #29345 )
...
Co-authored-by: twwu <twwu@dify.ai>
2025-12-16 16:43:45 +08:00
longbingljw
4cc6652424
feat: VECTOR_STORE supports seekdb ( #29658 )
2025-12-16 12:35:04 +09:00
zyssyz123
bd7b1fc6fb
fix: csv injection in annotations export ( #29462 )
...
Co-authored-by: hj24 <huangjian@dify.ai>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-12-15 17:14:05 +08:00
zyssyz123
724cd57dbf
fix: dos in annotation import ( #29470 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-12-15 15:22:04 +08:00
NeatGuyCoding
714b443077
fix: correct i18n SSO translations and fix validation/type issues ( #29564 )
...
Signed-off-by: NeatGuyCoding <15627489+NeatGuyCoding@users.noreply.github.com>
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
2025-12-15 15:58:33 +09:00
wangxiaolei
094f417b32
refactor: admin api using session factory ( #29628 )
2025-12-15 12:01:41 +08:00
TomoOkuyama
569c593240
feat: Add InterSystems IRIS vector database support ( #29480 )
...
Co-authored-by: Tomo Okuyama <tomo.okuyama@intersystems.com>
2025-12-15 10:20:43 +08:00
Aplulu
3653f54bea
fix: validate page_size limit in plugin list and tasks endpoints ( #29611 )
2025-12-13 22:52:51 +09:00
Maries
f4c7f98a01
fix: remove unnecessary error log when trigger endpoint returns 404 ( #29587 )
...
Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-12 17:53:40 +08:00
Maries
d48300d08c
fix: remove validate=True to fix flask-restx AttributeError ( #29552 )
...
Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-12 12:01:20 +08:00
wangxiaolei
193c8e2362
fix: fix available_credentials is empty ( #29521 )
2025-12-12 09:51:55 +08:00
-LAN-
063b39ada5
fix: conversation rename payload validation ( #29510 )
2025-12-11 18:05:41 +09:00
-LAN-
281e9d4f51
fix: chat api in explore page reject blank conversation id ( #29500 )
2025-12-11 16:26:42 +08:00
crazywoola
1847609926
fix: failed to delete model ( #29456 )
2025-12-11 12:05:44 +08:00
-LAN-
b4afc7e435
fix: Can not blank conversation ID validation in chat payloads ( #29436 )
...
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
2025-12-11 09:47:10 +08:00
Jyong
88b20bc6d0
fix dataset multimodal field not update ( #29403 )
2025-12-10 15:18:38 +08:00
非法操作
8f7173b69b
fix: admin dislike feedback lose content ( #29327 )
2025-12-09 16:07:59 +08:00
Jyong
9affc546c6
Feat/support multimodal embedding ( #29115 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-12-09 14:41:46 +08:00
wangxiaolei
97d671d9aa
feat: Allow Editor role to use Trigger Plugin subscriptions ( #29292 )
2025-12-09 10:24:56 +08:00