chore: PEP8 E501
This commit is contained in:
parent
85982a5607
commit
e873a4be4b
@ -217,7 +217,8 @@ class ApiTool(Tool):
|
|||||||
else:
|
else:
|
||||||
body = body
|
body = body
|
||||||
|
|
||||||
# if there is a file upload, remove the Content-Type header so that httpx can automatically generate the boundary header required for multipart/form-data.
|
# if there is a file upload, remove the Content-Type header
|
||||||
|
# so that httpx can automatically generate the boundary header required for multipart/form-data.
|
||||||
# issue: https://github.com/langgenius/dify/issues/13684
|
# issue: https://github.com/langgenius/dify/issues/13684
|
||||||
# reference: https://stackoverflow.com/questions/39280438/fetch-missing-boundary-in-multipart-form-data-post
|
# reference: https://stackoverflow.com/questions/39280438/fetch-missing-boundary-in-multipart-form-data-post
|
||||||
if files:
|
if files:
|
||||||
|
Loading…
Reference in New Issue
Block a user