mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-10 22:41:41 +00:00
Apply suggestion from @greptile-apps[bot]
Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
This commit is contained in:
parent
a1588c2602
commit
9b6c7c8bf0
1 changed files with 1 additions and 1 deletions
|
|
@ -1408,7 +1408,7 @@ if MCP_AVAILABLE:
|
|||
raise
|
||||
except BaseException as e:
|
||||
effective_timeout: Final = (
|
||||
min(request.timeout or MCP_CLIENT_TIMEOUT, timeout_seconds)
|
||||
min(request.timeout if request.timeout is not None else MCP_CLIENT_TIMEOUT, timeout_seconds)
|
||||
if any(
|
||||
isinstance(cause, McpError) and _as_read_timeout(cause) is not None
|
||||
for cause in iter_exception_tree(e)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue