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/models
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 refactor(workflow): Rename workflow node execution models (#20458) 8 months ago
_workflow_exc.py feat: Persist Variables for Enhanced Debugging Workflow (#20699) 8 months ago
account.py refactor: Use typed SQLAlchemy base model and fix type errors (#19980) 9 months ago
api_based_extension.py refactor(models): Use the SQLAlchemy base model. (#19435) 9 months ago
base.py refactor: Use typed SQLAlchemy base model and fix type errors (#19980) 9 months ago
dataset.py fix: replace all dataset.Model.query to db.session.query(Model) (#19509) 9 months ago
engine.py feat(api): Add image multimodal support for LLMNode (#17372) 9 months ago
enums.py feat(api): Introduce `WorkflowDraftVariable` Model (#19737) 9 months ago
model.py feat: Persist Variables for Enhanced Debugging Workflow (#20699) 8 months ago
provider.py refactor: Improve model status handling and structured output (#20586) 8 months ago
source.py refactor(models): Use the SQLAlchemy base model. (#19435) 9 months ago
task.py Introduce Plugins (#13836) 12 months ago
tools.py refactor: Use typed SQLAlchemy base model and fix type errors (#19980) 9 months ago
types.py feat(api): Introduce `WorkflowDraftVariable` Model (#19737) 9 months ago
web.py Introduce Plugins (#13836) 12 months ago
workflow.py feat: Persist Variables for Enhanced Debugging Workflow (#20699) 8 months ago