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
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 chore: remove agent turn limits (#19930) 8 months ago
app refactor: Removes unused LLMMode value_of method (#20575) 8 months ago
base refactor: Remove RepositoryFactory (#19176) 9 months ago
callback_handler Refactor/message cycle manage and knowledge retrieval (#20460) 8 months ago
entities refactor: Improve model status handling and structured output (#20586) 8 months ago
errors fix(core/errors): change base class of custom exceptions to ValueError (#11955) 1 year ago
extension refactor: Improve model status handling and structured output (#20586) 8 months ago
external_data_tool Enhance Code Consistency Across Repository with `.editorconfig` (#19023) 9 months ago
file feat(api): Add image multimodal support for LLMNode (#17372) 9 months ago
helper chore: replace pseudo-random generators with secrets module (#20616) 8 months ago
llm_generator Improve CONVERSATION_TITLE_PROMPT to correctly handle Japanese and input (#20351) 8 months ago
memory fix: Update prompt message content types to use Literal and add union type for content (#17136) 10 months ago
model_runtime refactor: Improve model status handling and structured output (#20586) 8 months ago
moderation Enhance Code Consistency Across Repository with `.editorconfig` (#19023) 9 months ago
ops Add support for W&B dedicated cloud instances in Weave tracing integration (#20765) 8 months ago
plugin chore: prepare the plugin daemon base url to yarl URL ahead intstead of in every invocation (#20541) 8 months ago
prompt Enhance Code Consistency Across Repository with `.editorconfig` (#19023) 9 months ago
rag fix: clean up two unreachable code (#20773) 8 months ago
repositories refactor(workflow): Rename workflow node execution models (#20458) 8 months ago
tools fix: clean up two unreachable code (#20773) 8 months ago
variables feat(api): Introduce `WorkflowDraftVariable` Model (#19737) 9 months ago
workflow fix(api): Resolve error encountered when executing `QuestionClassifieNode` (#20829) 8 months ago
__init__.py chore(api/core): apply ruff reformatting (#7624) 1 year ago
hosting_configuration.py chore(provider_manager): Update hosted model's name (#14334) 11 months ago
indexing_runner.py chore: model.query change to db.session.query (#19551) 9 months ago
model_manager.py feat(api): Add image multimodal support for LLMNode (#17372) 9 months ago
provider_manager.py refactor: Improve model status handling and structured output (#20586) 8 months ago