We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fa54293 commit 04b9237Copy full SHA for 04b9237
src/uipath_langchain/chat/bedrock.py
@@ -72,6 +72,7 @@ def __init__(
72
self._vendor = "awsbedrock"
73
self._url: Optional[str] = None
74
self.header_capture = header_capture
75
+ self._read_timeout = float(os.getenv("UIPATH_TIMEOUT_SECONDS", "120"))
76
77
@property
78
def endpoint(self) -> str:
@@ -108,7 +109,8 @@ def get_client(self):
108
109
config=botocore.config.Config(
110
retries={
111
"total_max_attempts": 1,
- }
112
+ },
113
+ read_timeout=self._read_timeout,
114
),
115
)
116
client.meta.events.register(
0 commit comments