dify/api/core/llm_generator
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
..
output_parser Ensure suggested questions parser returns typed sequence (#27104) 2025-10-20 13:01:09 +08:00
vibe_config refactor(vibe): modularize config and enhance workflow generation 2025-12-29 11:04:41 +08:00
__init__.py FEAT: NEW WORKFLOW ENGINE (#3160) 2024-04-08 18:51:46 +08:00
llm_generator.py refactor(vibe): modularize config and enhance workflow generation 2025-12-29 11:04:41 +08:00
prompts.py refactor(vibe): modularize config and enhance workflow generation 2025-12-29 11:04:41 +08:00
vibe_prompts.py refactor(vibe): modularize config and enhance workflow generation 2025-12-29 11:04:41 +08:00