dify/api/controllers
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
..
common fix(api): force download for HTML previews (#30090) 2025-12-25 11:43:07 +08:00
console refactor(vibe): modularize config and enhance workflow generation 2025-12-29 11:04:41 +08:00
files fix(api): force download for HTML previews (#30090) 2025-12-25 11:43:07 +08:00
inner_api refactor: port reqparse to BaseModel (#28993) 2025-12-08 15:31:19 +09:00
mcp refactor: port reqparse to BaseModel (#28993) 2025-12-08 15:31:19 +09:00
service_api fix(dataset): dataset tags service_api error "Dataset not found" (#30028) 2025-12-26 10:55:42 +08:00
trigger fix: remove unnecessary error log when trigger endpoint returns 404 (#29587) 2025-12-12 17:53:40 +08:00
web refactor: split changes for api/controllers/web/forgot_password.py (#29858) 2025-12-24 09:41:51 +08:00
__init__.py chore(api/controllers): Apply Ruff Formatter. (#7645) 2024-08-26 15:29:10 +08:00