mirror of https://github.com/langgenius/dify.git
- 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 |
||
|---|---|---|
| .. | ||
| __tests__ | ||
| use-workflow-run-event | ||
| index.ts | ||
| use-DSL.ts | ||
| use-auto-generate-webhook-url.ts | ||
| use-available-blocks.ts | ||
| use-checklist.ts | ||
| use-config-vision.ts | ||
| use-dynamic-test-run-options.tsx | ||
| use-edges-interactions-without-sync.ts | ||
| use-edges-interactions.ts | ||
| use-fetch-workflow-inspect-vars.ts | ||
| use-helpline.ts | ||
| use-inspect-vars-crud-common.ts | ||
| use-inspect-vars-crud.ts | ||
| use-node-data-update.ts | ||
| use-node-plugin-installation.ts | ||
| use-nodes-available-var-list.ts | ||
| use-nodes-interactions-without-sync.ts | ||
| use-nodes-interactions.ts | ||
| use-nodes-layout.ts | ||
| use-nodes-meta-data.ts | ||
| use-nodes-sync-draft.ts | ||
| use-panel-interactions.ts | ||
| use-selection-interactions.ts | ||
| use-serial-async-callback.ts | ||
| use-set-workflow-vars-with-value.ts | ||
| use-shortcuts.ts | ||
| use-tool-icon.ts | ||
| use-workflow-history.ts | ||
| use-workflow-interactions.ts | ||
| use-workflow-mode.ts | ||
| use-workflow-refresh-draft.ts | ||
| use-workflow-run.ts | ||
| use-workflow-search.tsx | ||
| use-workflow-start-run.tsx | ||
| use-workflow-variables.ts | ||
| use-workflow-vibe-config.ts | ||
| use-workflow-vibe.tsx | ||
| use-workflow.ts | ||