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.

content fix to continue (#3633)

fuckqqcom9b7b133cbc95
diff --git a/api/core/tools/utils/parser.py b/api/core/tools/utils/parser.py
index 5efd2e49b98..a96d8a6b7c7 100644
--- a/api/core/tools/utils/parser.py
+++ b/api/core/tools/utils/parser.py
@@ -81,7 +81,7 @@ class ApiBasedToolSchemaParser:
for content_type, content in request_body['content'].items():
# if there is a reference, get the reference and overwrite the content
if 'schema' not in content:
- content
+ continue
if '$ref' in content['schema']:
# get the reference