Skip to content

chore(deps): require uipath-llm-client 1.23.0 for LLM Gateway sticky sessions - #1204

Merged
dianagrecu-uipath merged 1 commit into
mainfrom
chore/require-uipath-llm-client-1.23.0
Nov 10, 2026
Merged

dianagrecu-uipath merged 1 commit into
mainfrom
chore/require-uipath-llm-client-1.23.0

Conversation

@dianagrecu-uipath

Copy link
Copy Markdown
Contributor

Raises the uipath-llm-client and uipath-langchain-client ranges to >=1.23.0, <1.24.0 and bumps the version to 0.19.6.

1.23.0 (UiPath/uipath-llm-client-python#159) makes PlatformSettings send the LLM Gateway sticky-session headers on every request of a run:

  • X-UiPath-LlmGateway-StickySession: true
  • X-UiPath-LlmGateway-StickySession-TransactionId: the conversation id of a conversational run, otherwise the job key. A run with neither sends neither header.

With them, the gateway serves every call of a run from the same model deployment. A reasoning model needs this when a call replays reasoning from an earlier response, for example after a tool call. No code here changes. chat_model_factory.get_chat_model builds its models on PlatformSettings, so every model it returns carries the headers.

The previous upper bound, <1.23.0, excluded this release, so the ranges move to >=1.23.0, <1.24.0. Between 1.22.3 and 1.23.0 the two client packages change only this: the headers, two header-name constants, and the uipath-platform floor of uipath-llm-client, which moves to >=0.3.4 for UiPathConfig.conversation_id.

Both 1.23.0 releases are on PyPI, so uv.lock is locked against them. The lock diff covers only this package's version, the seven ranges, the two client packages and uipath-platform (0.3.2 → 0.3.4, required by uipath-llm-client 1.23.0).

Verified on the locked environment:

  • uv lock --check passes.
  • pytest: 4138 passed.
  • ruff check, ruff format --check, scripts/lint_httpx_client.py and mypy src tests are clean.

Copilot AI balanced review requested due to automatic review settings November 10, 2026 11:20

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

There are no active review issues with the dependency updates enabling LLM Gateway sticky sessions.

No open issues 🎉

What changed in this PR

Updates the SDK’s client dependencies to enable LLM Gateway sticky sessions, keeping calls within a run on the same model deployment without changing application code.

Changes:

  • Bumps uipath-langchain to 0.19.6.
  • Raises both client dependency ranges to >=1.23.0, <1.24.0 across base dependencies and provider extras.
  • Locks both clients at 1.23.0 and uipath-platform at 0.3.4.
File Description
uv.lock Records the updated SDK version, dependency ranges, and resolved client and platform releases.
pyproject.toml Bumps the SDK version and requires sticky-session-capable client releases.

Review effort: Balanced

@sonarqubecloud

Copy link
Copy Markdown

@dianagrecu-uipath
dianagrecu-uipath enabled auto-merge (squash) November 10, 2026 11:31
@dianagrecu-uipath
dianagrecu-uipath merged commit d7b7d0c into main Nov 10, 2026
48 checks passed
@dianagrecu-uipath
dianagrecu-uipath deleted the chore/require-uipath-llm-client-1.23.0 branch November 10, 2026 12:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants