Skip to content

Commit 20d3d4e

Browse files
committed
timeout fixes
1 parent d1f8323 commit 20d3d4e

3 files changed

Lines changed: 6 additions & 7 deletions

File tree

CHANGELOG.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@ All notable changes to `uipath_llm_client` (core package) will be documented in
55
## [1.2.1] - 2026-02-18
66

77
### Fix
8-
- TImeout fixes, remove timeout=None from all clients -> caused overriding the default timeout set up on the UiPathHttpxClient
8+
- TImeout fixes, change typing from int to float
9+
- remove timeout=None from all clients -> caused overriding the default timeout set up on the UiPathHttpxClient
910

1011
## [1.2.0] - 2026-02-18
1112

packages/uipath_langchain_client/CHANGELOG.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@ All notable changes to `uipath_langchain_client` will be documented in this file
55
## [1.2.1] - 2026-02-18
66

77
### Fix
8-
- TImeout fixes, remove timeout=None from all clients -> caused overriding the default timeout set up on the UiPathHttpxClient
8+
- TImeout fixes, change typing from int to float
9+
- remove timeout=None from all clients -> caused overriding the default timeout set up on the UiPathHttpxClient
910

1011
## [1.2.0] - 2026-02-18
1112

src/uipath_llm_client/utils/retry.py

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
import logging
3535
from typing import Any, Callable, NotRequired
3636

37-
from httpx import AsyncHTTPTransport, HTTPTransport, Request, Response, TimeoutException
37+
from httpx import AsyncHTTPTransport, HTTPTransport, Request, Response
3838
from tenacity import (
3939
AsyncRetrying,
4040
RetryCallState,
@@ -57,10 +57,7 @@
5757

5858

5959
# Default retry configuration values
60-
_DEFAULT_RETRY_ON_EXCEPTIONS: tuple[type[Exception], ...] = (
61-
UiPathRateLimitError,
62-
TimeoutException,
63-
)
60+
_DEFAULT_RETRY_ON_EXCEPTIONS: tuple[type[Exception], ...] = (UiPathRateLimitError,)
6461
_DEFAULT_INITIAL_DELAY: float = 2.0
6562
_DEFAULT_MAX_DELAY: float = 60.0
6663
_DEFAULT_EXP_BASE: float = 2.0

0 commit comments

Comments
 (0)