mirror of
https://git.mirrors.martin98.com/https://github.com/langgenius/dify.git
synced 2025-08-12 02:19:05 +08:00
parent
7545e5de6c
commit
9b7b133cbc
@ -81,7 +81,7 @@ class ApiBasedToolSchemaParser:
|
|||||||
for content_type, content in request_body['content'].items():
|
for content_type, content in request_body['content'].items():
|
||||||
# if there is a reference, get the reference and overwrite the content
|
# if there is a reference, get the reference and overwrite the content
|
||||||
if 'schema' not in content:
|
if 'schema' not in content:
|
||||||
content
|
continue
|
||||||
|
|
||||||
if '$ref' in content['schema']:
|
if '$ref' in content['schema']:
|
||||||
# get the reference
|
# get the reference
|
||||||
|
Loading…
x
Reference in New Issue
Block a user