You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gcgj-dify-1.7.0/api/core/variables
QuantumGhost 10b738a296
feat: Persist Variables for Enhanced Debugging Workflow (#20699)
This pull request introduces a feature aimed at improving the debugging experience during workflow editing. With the addition of variable persistence, the system will automatically retain the output variables from previously executed nodes. These persisted variables can then be reused when debugging subsequent nodes, eliminating the need for repetitive manual input.

By streamlining this aspect of the workflow, the feature minimizes user errors and significantly reduces debugging effort, offering a smoother and more efficient experience.

Key highlights of this change:

- Automatic persistence of output variables for executed nodes.
- Reuse of persisted variables to simplify input steps for nodes requiring them (e.g., `code`, `template`, `variable_assigner`).
- Enhanced debugging experience with reduced friction.

Closes #19735.
8 months ago
..
__init__.py fix: Introduce ArrayVariable and update iteration node to handle it (#12001) 1 year ago
consts.py feat(api): Introduce `WorkflowDraftVariable` Model (#19737) 9 months ago
exc.py feat/enhance the multi-modal support (#8818) 1 year ago
segment_group.py feat/enhance the multi-modal support (#8818) 1 year ago
segments.py feat: Persist Variables for Enhanced Debugging Workflow (#20699) 8 months ago
types.py feat: Persist Variables for Enhanced Debugging Workflow (#20699) 8 months ago
utils.py feat: Persist Variables for Enhanced Debugging Workflow (#20699) 8 months ago
variables.py chore: bump pydantic to 2.11 and pydantic-settings to 2.9 (#15049) 9 months ago