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 refactor(models): Use the SQLAlchemy base model. (#19435) 2025-05-09 13:52:05 +08:00
base.py refactor: Use typed SQLAlchemy base model and fix type errors (#19980) 2025-05-21 15:38:03 +08:00
dataset.py fix: replace all dataset.Model.query to db.session.query(Model) (#19509) 2025-05-12 13:52:33 +08:00
engine.py feat(api): Add image multimodal support for LLMNode (#17372) 2025-04-30 17:28:02 +08:00
enums.py feat(api): Introduce `WorkflowDraftVariable` Model (#19737) 2025-05-19 22:59:56 +08:00
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 refactor(models): Use the SQLAlchemy base model. (#19435) 2025-05-09 13:52:05 +08:00
task.py Introduce Plugins (#13836) 2025-02-17 17:05:13 +08:00
tools.py refactor: Use typed SQLAlchemy base model and fix type errors (#19980) 2025-05-21 15:38:03 +08:00
types.py feat(api): Introduce `WorkflowDraftVariable` Model (#19737) 2025-05-19 22:59:56 +08:00
web.py Introduce Plugins (#13836) 2025-02-17 17:05:13 +08:00
workflow.py feat(api): Adjust `WorkflowDraftVariable` and `WorkflowNodeExecutionModel` (#20746) 2025-06-06 21:03:59 +08:00