dify/api/models
QuantumGhost 930c4cb609
feat(api): Adjust WorkflowDraftVariable and WorkflowNodeExecutionModel (#20746)
- Add `node_execution_id` column to `WorkflowDraftVariable`, allowing efficient implementation of 
  the "Reset to last run value" feature.
- Add additional index for `WorkflowNodeExecutionModel` to improve the performance of last run lookup.

Closes #20745.
2025-06-06 21:03:59 +08:00
..
__init__.py refactor(workflow): Rename workflow node execution models (#20458) 2025-05-30 04:56:37 +08:00
account.py refactor: Use typed SQLAlchemy base model and fix type errors (#19980) 2025-05-21 15:38:03 +08:00
api_based_extension.py
base.py refactor: Use typed SQLAlchemy base model and fix type errors (#19980) 2025-05-21 15:38:03 +08:00
dataset.py
engine.py
enums.py
model.py Refactor/remove db from cycle manager (#20455) 2025-05-30 04:34:13 +08:00
provider.py refactor: Improve model status handling and structured output (#20586) 2025-06-04 19:56:54 +08:00
source.py
task.py
tools.py refactor: Use typed SQLAlchemy base model and fix type errors (#19980) 2025-05-21 15:38:03 +08:00
types.py
web.py
workflow.py feat(api): Adjust WorkflowDraftVariable and WorkflowNodeExecutionModel (#20746) 2025-06-06 21:03:59 +08:00