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
34 changes: 25 additions & 9 deletions .github/workflows/cd-langchain.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Publish uipath-langchain-client to PyPI
name: cd-langchain

on:
push:
Expand All @@ -7,26 +7,42 @@ on:
paths:
- 'packages/uipath_langchain_client/src/uipath_langchain_client/__version__.py'
workflow_run:
workflows: ["Publish uipath-llm-client to PyPI"]
workflows: ["cd"]
types:
- completed
branches:
- main
workflow_dispatch:

jobs:
build:
if: >
github.event_name == 'workflow_dispatch' ||

(
github.event_name == 'push' &&
!contains(
join(github.event.commits.*.modified, ' '),
'src/uipath_llm_client/__version__.py'
)
) ||

(
github.event_name == 'workflow_run' &&
github.event.workflow_run.conclusion == 'success' &&
contains(
join(github.event.workflow_run.head_commit.modified, ' '),
'packages/uipath_langchain_client/src/uipath_langchain_client/__version__.py'
) &&
contains(
join(github.event.workflow_run.head_commit.modified, ' '),
'src/uipath_llm_client/__version__.py'
)
)
name: Build package
runs-on: ubuntu-latest
environment: pypi
permissions:
contents: read
id-token: write
# Only run if triggered by push/dispatch, OR if the upstream workflow succeeded
if: >
github.event_name == 'push' ||
github.event_name == 'workflow_dispatch' ||
(github.event_name == 'workflow_run' && github.event.workflow_run.conclusion == 'success')

steps:
- uses: actions/checkout@v6
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/cd.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Publish uipath-llm-client to PyPI
name: cd

on:
push:
Expand Down
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@

All notable changes to `uipath_llm_client` (core package) will be documented in this file.

## [1.0.12] - 2026-02-05

### Fix
- Added 295 as default llmgateway timeout to avoid problems on the backend side

## [1.0.11] - 2026-02-05

### Feature
Expand Down
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.12] - 2026-02-05

### Fix
- Added 295 as default llmgateway timeout to avoid problems on the backend side

## [1.0.11] - 2026-02-04

### Type 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.11"
__version__ = "1.0.12"
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ class UiPathBaseLLMClient(BaseModel):

default_headers: Mapping[str, str] | None = Field(
default={
"X-UiPath-LLMGateway-TimeoutSeconds": "300", # server side timeout, default is 10, maximum is 300
"X-UiPath-LLMGateway-TimeoutSeconds": "295", # 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
2 changes: 1 addition & 1 deletion src/uipath_llm_client/__version__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
__titile__ = "UiPath LLM Client"
__description__ = "A Python client for interacting with UiPath's LLM services."
__version__ = "1.0.11"
__version__ = "1.0.12"
2 changes: 1 addition & 1 deletion src/uipath_llm_client/httpx_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ class UiPathHttpxClient(Client):

_streaming_header: str = "X-UiPath-Streaming-Enabled"
_default_headers: Mapping[str, str] = {
"X-UiPath-LLMGateway-TimeoutSeconds": "300", # server side timeout, default is 10, maximum is 300
"X-UiPath-LLMGateway-TimeoutSeconds": "295", # server side timeout, default is 10, maximum is 300
"X-UiPath-LLMGateway-AllowFull4xxResponse": "true", # allow full 4xx responses (default is false)
}

Expand Down