feat(retry): consume uipath-llm-client 1.17.0 and raise default max retries to 5#995
Merged
Merged
Conversation
…etries to 5 uipath-llm-client / uipath-langchain-client 1.17.0 restore retry parity with the legacy in-repo chat-client retryers (5-attempt budget, 5s/120s backoff window, Retry-After honored on any status, HTTP 524, and connection-level failures). This bump consumes them and removes the last override that kept agent runs on the old budget: chat_model_factory passed max_retries=3 explicitly on the new-clients path, defeating the new defaults. - uipath-llm-client >=1.17.0,<1.18.0 - uipath-langchain-client (all extras) >=1.17.0,<1.18.0 - DEFAULT_MAX_RETRIES 3 -> 5 (parity with legacy BedrockRetryer/VertexRetryer) - uipath-langchain 0.14.10 Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
There was a problem hiding this comment.
Pull request overview
This PR updates uipath-langchain to consume uipath-llm-client / uipath-langchain-client 1.17.0 and aligns the SDK’s default chat retry budget with the restored transport defaults/legacy behavior.
Changes:
- Bump dependencies to
uipath-llm-client>=1.17.0,<1.18.0anduipath-langchain-client>=1.17.0,<1.18.0(including extras). - Raise
DEFAULT_MAX_RETRIESinchat_model_factoryfrom 3 → 5 and update the docstring accordingly. - Bump package version
0.14.9→0.14.10and refreshuv.lock.
Reviewed changes
Copilot reviewed 2 out of 3 changed files in this pull request and generated 3 comments.
| File | Description |
|---|---|
uv.lock |
Lockfile refresh to pick up uipath-llm-client / uipath-langchain-client 1.17.0 and the local version bump. |
src/uipath_langchain/chat/chat_model_factory.py |
Increases the factory default retry budget to 5 and updates documentation around the default. |
pyproject.toml |
Updates project version and dependency constraints to the 1.17.0 client releases. |
| its own default or use no limit). | ||
| timeout: Request timeout in seconds. Defaults to 895 seconds. | ||
| max_retries: Max retry count. Defaults to 3. | ||
| max_retries: Max retry count. Defaults to 5. |
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
…h (Copilot review) Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
…factory (Copilot review) Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
|
ionut-mihalache-uipath
approved these changes
Jul 17, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



Summary
Companion to UiPath/uipath-llm-client-python#107 (merged, released as 1.17.0). That PR restored retry parity between the shared LLM-client transports and the legacy in-repo chat-client retryers (
BedrockRetryer/VertexRetryer):Retry-Afterhonored on any error status (wait hint + forced retry, matching legacy)UiPathOriginTimeoutError)httpx.TimeoutException(incl.PoolTimeoutunder high concurrency),ConnectError,RemoteProtocolErrorThis PR consumes those releases and removes the last override that kept agent runs on the old budget:
chat_model_factorypassesmax_retriesexplicitly on the new-clients path, so itsDEFAULT_MAX_RETRIES = 3silently defeated the new client defaults for every low-code agent run (uipath-agents doesn't passmax_retries, so this factory default is what agents get).Changes
uipath-llm-client >=1.17.0,<1.18.0uipath-langchain-client(all 7 extras lines)>=1.17.0,<1.18.0DEFAULT_MAX_RETRIES3 → 5 inchat_model_factory(legacy-retryer parity)uipath-langchain0.14.9 → 0.14.10, lockfile refreshed🤖 Generated with Claude Code