mirror of
https://git.mirrors.martin98.com/https://github.com/langgenius/dify.git
synced 2025-08-16 06:45:53 +08:00
Co-authored-by: Peter Xin <iami@Artemis.local>
This commit is contained in:
parent
8025ad0661
commit
c29cb503be
@ -168,7 +168,7 @@ class ApiTool(Tool):
|
|||||||
cookies[parameter["name"]] = value
|
cookies[parameter["name"]] = value
|
||||||
|
|
||||||
elif parameter["in"] == "header":
|
elif parameter["in"] == "header":
|
||||||
headers[parameter["name"]] = value
|
headers[parameter["name"]] = str(value)
|
||||||
|
|
||||||
# check if there is a request body and handle it
|
# check if there is a request body and handle it
|
||||||
if "requestBody" in self.api_bundle.openapi and self.api_bundle.openapi["requestBody"] is not None:
|
if "requestBody" in self.api_bundle.openapi and self.api_bundle.openapi["requestBody"] is not None:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user