Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions packages/uipath_langchain_client/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@

All notable changes to `uipath_langchain_client` will be documented in this file.

## [1.0.4] - 2026-02-03

### Bug Fix
- Fix some timout issues on langchain_openai from llmgw.

## [1.0.3] - 2026-02-02

### Bug Fix
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
__title__ = "UiPath LangChain Client"
__description__ = "A Python client for interacting with UiPath's LLM services via LangChain."
__version__ = "1.0.3"
__version__ = "1.0.4"
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ class UiPathBaseLLMClient(BaseModel):
)
default_headers: Mapping[str, str] | None = Field(
default={
"X-UiPath-LLMGateway-TimeoutSeconds": "30", # server side timeout, default is 10, maximum is 300
"X-UiPath-LLMGateway-TimeoutSeconds": "300", # server side timeout, default is 10, maximum is 300
"X-UiPath-LLMGateway-AllowFull4xxResponse": "true", # allow full 4xx responses (default is false)
},
description="Default request headers to include in requests",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,13 +43,13 @@ def setup_uipath_client(self) -> Self:
self.root_client = OpenAI(
api_key="PLACEHOLDER",
timeout=None, # handled by the UiPath client
max_retries=1, # handled by the UiPath client
max_retries=0, # handled by the UiPath client
http_client=self.uipath_sync_client,
)
self.root_async_client = AsyncOpenAI(
api_key="PLACEHOLDER",
timeout=None, # handled by the UiPath client
max_retries=1, # handled by the UiPath client
max_retries=0, # handled by the UiPath client
http_client=self.uipath_async_client,
)
self.client = self.root_client.chat.completions
Expand Down Expand Up @@ -86,15 +86,15 @@ def setup_uipath_client(self) -> Self:
api_version="PLACEHOLDER",
api_key="PLACEHOLDER",
timeout=None, # handled by the UiPath client
max_retries=1, # handled by the UiPath client
max_retries=0, # handled by the UiPath client
http_client=self.uipath_sync_client,
)
self.root_async_client = AsyncAzureOpenAI(
azure_endpoint="PLACEHOLDER",
api_version="PLACEHOLDER",
api_key="PLACEHOLDER",
timeout=None, # handled by the UiPath client
max_retries=1, # handled by the UiPath client
max_retries=0, # handled by the UiPath client
http_client=self.uipath_async_client,
)
self.client = self.root_client.chat.completions
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,13 +36,13 @@ def setup_uipath_client(self) -> Self:
self.client = OpenAI(
api_key="PLACEHOLDER",
timeout=None, # handled by the UiPath client
max_retries=1, # handled by the UiPath client
max_retries=0, # handled by the UiPath client
http_client=self.uipath_sync_client,
).embeddings
self.async_client = AsyncOpenAI(
api_key="PLACEHOLDER",
timeout=None, # handled by the UiPath client
max_retries=1, # handled by the UiPath client
max_retries=0, # handled by the UiPath client
http_client=self.uipath_async_client,
).embeddings
return self
Expand Down Expand Up @@ -70,15 +70,15 @@ def setup_uipath_client(self) -> Self:
api_version="PLACEHOLDER",
api_key="PLACEHOLDER",
timeout=None, # handled by the UiPath client
max_retries=1, # handled by the UiPath client
max_retries=0, # handled by the UiPath client
http_client=self.uipath_sync_client,
).embeddings
self.async_client = AsyncAzureOpenAI(
azure_endpoint="PLACEHOLDER",
api_version="PLACEHOLDER",
api_key="PLACEHOLDER",
timeout=None, # handled by the UiPath client
max_retries=1, # handled by the UiPath client
max_retries=0, # handled by the UiPath client
http_client=self.uipath_async_client,
).embeddings
return self