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/nodes
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
..
agent refactor: Replaces direct DB session usage with context managers (#20569) 8 months ago
answer Refactor/remove db from cycle manager (#20455) 8 months ago
base Refactor/remove db from cycle manager (#20455) 8 months ago
code Refactor/remove db from cycle manager (#20455) 8 months ago
document_extractor A more concise and effective extractor for excel and csv files (#20625) 8 months ago
end Refactor/remove db from cycle manager (#20455) 8 months ago
event Refactor/message cycle manage and knowledge retrieval (#20460) 8 months ago
http_request chore: replace pseudo-random generators with secrets module (#20616) 8 months ago
if_else Refactor/remove db from cycle manager (#20455) 8 months ago
iteration refactor(workflow): Rename NodeRunMetadataKey to WorkflowNodeExecutionMetadataKey (#20457) 8 months ago
knowledge_retrieval fix(api): Resolve error encountered when executing `QuestionClassifieNode` (#20829) 8 months ago
list_operator Refactor/remove db from cycle manager (#20455) 8 months ago
llm fix(llm_node): update file variable mapping to use vision configs (#20417) 8 months ago
loop refactor(workflow): Rename NodeRunMetadataKey to WorkflowNodeExecutionMetadataKey (#20457) 8 months ago
parameter_extractor refactor: Replaces direct DB session usage with context managers (#20569) 8 months ago
question_classifier fix(api): Resolve error encountered when executing `QuestionClassifieNode` (#20829) 8 months ago
start Refactor/remove db from cycle manager (#20455) 8 months ago
template_transform Refactor/remove db from cycle manager (#20455) 8 months ago
tool refactor(workflow): Rename NodeRunMetadataKey to WorkflowNodeExecutionMetadataKey (#20457) 8 months ago
variable_aggregator fix: variable aggregator with group and file raise exception (#20581) 8 months ago
variable_assigner Refactor/remove db from cycle manager (#20455) 8 months ago
__init__.py feat/enhance the multi-modal support (#8818) 1 year ago
enums.py Feat/loop node (#17273) 10 months ago
node_mapping.py Feat/loop node (#17273) 10 months ago