Files
ragflow/agent/component
Ricardo-M-L cc21dc7f00 fix: replace broken assert with raise ValueError in variable_assigner and loop (#13906)
\`assert \"string\"\` always passes in Python because non-empty strings
are truthy. This silently skips input validation:

- **variable_assigner.py line 51**: \`assert \"Variable is not
complete.\"\` → \`raise ValueError(\"Variable is not complete.\")\`
- **loop.py line 59**: \`assert \"Loop Variable is not complete.\"\` →
\`raise ValueError(\"Loop Variable is not complete.\")\`

Without this fix, incomplete variables pass validation silently and
cause a confusing KeyError on the next line.
2026-05-14 12:33:17 +08:00
..
2026-03-05 17:27:17 +08:00
2025-11-27 15:55:32 +08:00
2026-04-14 15:03:46 +08:00
2025-12-25 12:12:38 +08:00
2026-05-12 14:41:49 +08:00