fix: Set ApiTool’s do_http_request to do not retry. (#26721)

This commit is contained in:
jiangbo721 2025-10-10 23:39:25 +08:00 committed by GitHub
parent 3fb5a7bff1
commit fdb53fdeb1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 0 deletions

View File

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