From 9b7b133cbc95a5ea91f5a1ee1dfd1c6d8915cdd7 Mon Sep 17 00:00:00 2001 From: fuckqqcom <9391575+fuckqqcom@users.noreply.github.com> Date: Fri, 19 Apr 2024 16:51:38 +0800 Subject: [PATCH] content fix to continue (#3633) Co-authored-by: xiaohan --- api/core/tools/utils/parser.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/core/tools/utils/parser.py b/api/core/tools/utils/parser.py index 5efd2e49b9..a96d8a6b7c 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