#40688·长链

`ToolRetryMiddleware`: 默认设置在模糊的传输错误情况下重试非同一性工具,然后请求模型再次重试

作者: FurkhanShaikh创建于 2026年9月20日更新于 2026年9月28日
标签buglangchainexternal

With default settings, ToolRetryMiddleware re-invokes a tool after a httpx.ReadTimeout — a failure that occurs after the request was transmitted and therefore carries no information about whether the tool's external effect took place. Three defaults combine to make this the out-of-the-box behaviour for every tool in the agent:

内容来源: langchain-ai/langchain