mirror of https://github.com/langgenius/dify.git
fix: Set ApiTool’s do_http_request to do not retry. (#26721)
This commit is contained in:
parent
3fb5a7bff1
commit
fdb53fdeb1
|
|
@ -290,6 +290,7 @@ class ApiTool(Tool):
|
||||||
method_lc
|
method_lc
|
||||||
]( # https://discuss.python.org/t/type-inference-for-function-return-types/42926
|
]( # https://discuss.python.org/t/type-inference-for-function-return-types/42926
|
||||||
url,
|
url,
|
||||||
|
max_retries=0,
|
||||||
params=params,
|
params=params,
|
||||||
headers=headers,
|
headers=headers,
|
||||||
cookies=cookies,
|
cookies=cookies,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue