dify/api/tests/integration_tests
QuantumGhost 81d9a9d00d feat(api): limit conversation variable description length
Previously, conversation variable descriptions had no length limit, causing errors
when debugging chatflows. These descriptions are saved as draft variable descriptions
during debugging, which have a 256-character limit. Variables with descriptions
exceeding this limit could not be saved, resulting in 500 errors and "Internal
Server Error" messages during chatflow debugging.

This commit implements description length limits for conversation variables:

- New chatflows: Hard limit of 256 characters for descriptions. Longer
  descriptions are rejected and prevent chatflow saving.
- Existing chatflows: If all conversation variable descriptions are under
  256 characters, the same limit applies as new chatflows. Otherwise, no limit
  is enforced to maintain backward compatibility.
2025-09-11 17:42:30 +08:00
..
controllers/console feat(api): limit conversation variable description length 2025-09-11 17:42:30 +08:00
factories add more dataclass (#25039) 2025-09-06 03:20:13 +08:00
model_runtime/__mock remove bare list, dict, Sequence, None, Any (#25058) 2025-09-06 03:32:23 +08:00
plugin Typing test (#24651) 2025-08-28 09:36:39 +08:00
services orm filter -> where (#22801) 2025-07-24 00:57:45 +08:00
storage feat: Add Clickzetta Lakehouse vector database integration (#22551) 2025-08-07 14:21:46 +08:00
tasks feat(api): auto-delete WorkflowDraftVariable when app is deleted (#23737) 2025-08-13 11:13:08 +08:00
tools Typing test (#24651) 2025-08-28 09:36:39 +08:00
utils chore: apply flake8-pytest-style linter rules (#8307) 2024-09-12 18:09:16 +08:00
vdb remove bare list, dict, Sequence, None, Any (#25058) 2025-09-06 03:32:23 +08:00
workflow remove bare list, dict, Sequence, None, Any (#25058) 2025-09-06 03:32:23 +08:00
.env.example Revert "feat: email register refactor" (#25367) 2025-09-08 19:20:09 +08:00
.gitignore Enhance Code Consistency Across Repository with `.editorconfig` (#19023) 2025-04-29 18:04:33 +08:00
__init__.py feat: server multi models support (#799) 2023-08-12 00:57:00 +08:00
conftest.py remove bare list, dict, Sequence, None, Any (#25058) 2025-09-06 03:32:23 +08:00