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/workflow
QuantumGhost a97ff587d2
fix(api): Resolve error encountered when executing `QuestionClassifieNode` (#20829)
The `QuestionClassifierNode` class extends `LLMNode`, meaning that, per the Liskov Substitution Principle, `QuestionClassifierNodeData` **SHOULD** be compatible in contexts where `LLMNodeData` is expected.

However, the absence of the `structured_output_enabled` attribute violates this principle, causing `QuestionClassifierNode` to fail during execution.

This commit implements a quick and temporary workaround. A proper resolution would involve refactoring to decouple `QuestionClassifierNode` from `LLMNode` to address the underlying design issue.

Fixes #20725.
8 months ago
..
callbacks Feature/newnew workflow loop node (#14863) 11 months ago
entities refactor(workflow): Rename workflow node execution models (#20458) 8 months ago
graph_engine refactor: Replaces direct DB session usage with context managers (#20569) 8 months ago
nodes fix(api): Resolve error encountered when executing `QuestionClassifieNode` (#20829) 8 months ago
repositories refactor(workflow): Rename workflow node execution models (#20458) 8 months ago
utils refactor: Improve model status handling and structured output (#20586) 8 months ago
__init__.py FEAT: NEW WORKFLOW ENGINE (#3160) 2 years ago
constants.py feat/enhance the multi-modal support (#8818) 1 year ago
enums.py refactor(api/core/workflow/enums): Rename WORKFLOW_RUN_ID to WORKFLOW_EXECUTION_ID (#20459) 8 months ago
errors.py feat/enhance the multi-modal support (#8818) 1 year ago
workflow_cycle_manager.py refactor(api/core/workflow/enums): Rename WORKFLOW_RUN_ID to WORKFLOW_EXECUTION_ID (#20459) 8 months ago
workflow_engine_manager.py feat: Parallel Execution of Nodes in Workflows (#8192) 1 year ago
workflow_entry.py Fix: the issue of getting empty environment variables. (#19085) 9 months ago