content fix to continue (#3633)

Co-authored-by: xiaohan <fuck@qq.com>
This commit is contained in:
fuckqqcom 2024-04-19 16:51:38 +08:00 committed by GitHub
parent 7545e5de6c
commit 9b7b133cbc
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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