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
yyh
a4efb3acbf
fix: correct header assignment in SSRF proxy request handling
2025-12-29 10:42:23 +08:00
crazywoola
b7be5c8c82
feat: add MCP tools
2025-12-29 10:42:22 +08:00
crazywoola
9d496ed3dc
feat: add MCP tools
2025-12-29 10:42:22 +08:00
crazywoola
5705fa898f
feat: v1
2025-12-29 10:42:21 +08:00
crazywoola
a5c6c8638e
feat: v1
2025-12-29 10:42:21 +08:00
Shemol
d9cecabe93
fix: release graph_runtime_state reference to prevent memory leak under high load ( #30236 )
...
Signed-off-by: SherlockShemol <shemol@163.com>
2025-12-29 10:35:47 +08:00
Will
d546d525b4
feat: MCP tool adds support for embeddedResource ( #30261 )
...
Co-authored-by: crazywoola <100913391+crazywoola@users.noreply.github.com>
2025-12-29 10:15:47 +08:00
dependabot[bot]
5b1c08c19c
chore(deps): bump json-repair from 0.54.1 to 0.54.3 in /api ( #30285 )
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-12-29 09:42:24 +08:00
NeatGuyCoding
a00ac1b5b1
fix(api): fix credential type handling and rebuild subscription transaction safety ( #30242 )
...
Signed-off-by: NeatGuyCoding <15627489+NeatGuyCoding@users.noreply.github.com>
2025-12-28 20:29:35 +08:00
NeatGuyCoding
1f2c85c916
fix: wrong usage of redis lock ( #28177 )
...
Signed-off-by: NeatGuyCoding <15627489+NeatGuyCoding@users.noreply.github.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Maries <xh001x@hotmail.com>
Co-authored-by: 非法操作 <hjlarry@163.com>
2025-12-28 13:47:54 +08:00
Maries
2b01f85d61
fix: consolidate duplicate InvokeRateLimitError definitions ( #30229 )
...
Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-28 03:03:42 +09:00
Novice
d8010a7fbc
fix: Add JSON RPC request type guard ( #30216 )
2025-12-28 03:02:46 +09:00
Jyong
f610f6895f
fix: retrieval test and knowledge retrieval node failed in multimodal mode ( #30210 )
...
Co-authored-by: Stephen Zhou <38493346+hyoban@users.noreply.github.com>
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
2025-12-26 21:42:06 +08:00
wangxiaolei
d20a8d5b77
fix: fix missing not in ( #30207 )
2025-12-26 16:52:34 +08:00
wangxiaolei
8611301722
fix: fix DatasetRetrieval._process_metadata_filter_func miss in operator ( #30199 )
2025-12-26 16:34:50 +08:00
Xiyuan Chen
6044f0666a
fix: use query param for delete method ( #30206 )
2025-12-26 00:34:35 -08:00
wangxiaolei
61d255a6e6
chore: bypass InsufficientPrivilege on Azure PostgreSQL ( #30191 )
2025-12-26 14:35:05 +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
wangxiaolei
9885e92854
fix: validate first then save to db ( #30107 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-12-25 19:36:52 +09:00
wangxiaolei
996c7d9e16
perf: using pipeline to delete redis cache ( #30159 )
2025-12-25 17:04:37 +08:00
Maries
b90e6aa14c
fix(api): move cache invalidation outside redis lock to prevent timeout ( #30150 )
...
Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-25 16:21:25 +08:00
-LAN-
f5fdd02022
chore: bump version to 1.11.2 ( #30088 )
2025-12-25 16:16:24 +08:00
wangxiaolei
d1f9911848
feat: make the SegmentService.get_segments sort stable ( #30152 )
2025-12-25 15:53:38 +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
倉嶋 将矢
a26b2d74d4
fix: allow None values in VariableMessage validation ( #30082 )
2025-12-25 10:20:25 +08:00
倉嶋 将矢
9000fa1a88
fix: handle list content type in Parameter Extraction node ( #30070 )
2025-12-25 10:19:50 +08:00
Maries
fdaeec7f7d
fix: trigger subscription delete not working for non-auto-created credentials ( #30122 )
...
Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-24 20:23:52 +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
wangxiaolei
2f9d718997
fix: fix use build_request lead unexpect param ( #30095 )
2025-12-24 17:23:30 +08:00
Novice
f439e081b5
fix: loop streaming by clearing stale subgraph variables ( #30059 )
2025-12-24 11:28:52 +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
wangxiaolei
111a39b549
fix: fix firecrawl url concat ( #30008 )
2025-12-24 09:40:32 +08:00
Asuka Minato
de021ff3e0
refactor: split changes for api/controllers/web/remote_files.py ( #29853 )
2025-12-23 21:30:30 +09:00
wangxiaolei
aea3a6f80c
fix: when use forward proxy with httpx, httpx will overwrite the use … ( #30029 )
2025-12-23 19:01:12 +08:00
ericko-being
3f27b3f0b4
fix(ops): correct LangSmith dotted_order timestamp format ( #30022 )
2025-12-23 19:00:17 +08:00
wangxiaolei
b321511518
feat: grace ful close the connection ( #30039 )
2025-12-23 18:56:38 +08:00
-LAN-
efac8766a1
fix: YAML URL import rewrite for GitHub attachments ( #30003 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-12-23 19:14:39 +09:00
非法操作
9701a2994b
chore: Translate stray Chinese comment to English ( #30024 )
...
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>
2025-12-23 14:05:21 +08:00
非法操作
d005689d0a
chore: remove unused login call from activation flow ( #30017 )
2025-12-23 12:26:52 +08:00
Michael.Y.Ma
3322e7a7e3
feat: Add OSS-specific parameters for HW and ALI private deployment ( #29705 )
...
Co-authored-by: crazywoola <427733928@qq.com>
2025-12-22 21:59:32 +08:00
wangxiaolei
65e8fdc0e4
feat: support var filer in conversation service ( #29245 )
2025-12-22 21:48:11 +08:00