Skip to content

armgit / dify

Public Imported from GitHub
0

Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype to production without rebuilding the stack.

fix: change OutputParserError to inherit from ValueError (#11935)

-LAN-810adb8a94ec
diff --git a/api/core/llm_generator/output_parser/errors.py b/api/core/llm_generator/output_parser/errors.py
index 1e743f17574..0922806ca88 100644
--- a/api/core/llm_generator/output_parser/errors.py
+++ b/api/core/llm_generator/output_parser/errors.py
@@ -1,2 +1,2 @@
-class OutputParserError(Exception):
+class OutputParserError(ValueError):
pass