Skip to content
Open
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 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.6.0] - 2026-03-31

### Added
- `UiPathNormalizedClient`: a provider-agnostic HTTP client that speaks directly to UiPath's normalized API endpoint without requiring any vendor SDK. Supports sync/async chat completions, streaming, structured output (JSON schema), and tool calling across all supported providers (OpenAI, Google Gemini, Anthropic on Bedrock/Vertex, etc.).

## [1.5.10] - 2026-03-26

### Changed
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.6.0] - 2026-03-31

### Changed
- Bumped `uipath-llm-client` dependency to `>=1.6.0` to pick up `UiPathNormalizedClient`

## [1.5.10] - 2026-03-26

### Changed
Expand Down
2 changes: 1 addition & 1 deletion packages/uipath_langchain_client/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ readme = "README.md"
requires-python = ">=3.11"
dependencies = [
"langchain>=1.2.13",
"uipath-llm-client>=1.5.10",
"uipath-llm-client>=1.6.0",
]

[project.optional-dependencies]
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.5.10"
__version__ = "1.6.0"
3 changes: 3 additions & 0 deletions src/uipath/llm_client/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
"""

from uipath.llm_client.__version__ import __version__
from uipath.llm_client.clients.normalized import UiPathNormalizedClient
from uipath.llm_client.httpx_client import (
UiPathHttpxAsyncClient,
UiPathHttpxClient,
Expand Down Expand Up @@ -54,6 +55,8 @@

__all__ = [
"__version__",
# Normalized client
"UiPathNormalizedClient",
# Settings
"get_default_client_settings",
"PlatformSettings",
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 @@
__title__ = "UiPath LLM Client"
__description__ = "A Python client for interacting with UiPath's LLM services."
__version__ = "1.5.10"
__version__ = "1.6.0"
121 changes: 97 additions & 24 deletions src/uipath/llm_client/clients/anthropic/client.py

Large diffs are not rendered by default.

42 changes: 24 additions & 18 deletions src/uipath/llm_client/clients/google/client.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import logging
from typing import Any
from collections.abc import Mapping, Sequence

from uipath.llm_client.httpx_client import UiPathHttpxAsyncClient, UiPathHttpxClient
from uipath.llm_client.settings import (
Expand Down Expand Up @@ -27,9 +27,12 @@ def __init__(
model_name: str,
byo_connection_id: str | None = None,
client_settings: UiPathBaseSettings | None = None,
default_headers: Mapping[str, str] | None = None,
captured_headers: Sequence[str] = ("x-uipath-",),
timeout: float | None = None,
max_retries: int = 0,
retry_config: RetryConfig | None = None,
logger: logging.Logger | None = None,
**kwargs: Any,
):
client_settings = client_settings or get_default_client_settings()
api_config = UiPathAPIConfig(
Expand All @@ -40,35 +43,38 @@ def __init__(
api_version="v1beta1",
freeze_base_url=True,
)
merged_headers = {
**(default_headers or {}),
**client_settings.build_auth_headers(model_name=model_name, api_config=api_config),
}
base_url = client_settings.build_base_url(model_name=model_name, api_config=api_config)
auth = client_settings.build_auth_pipeline()

httpx_client = UiPathHttpxClient(
model_name=model_name,
byo_connection_id=byo_connection_id,
api_config=api_config,
timeout=kwargs.pop("timeout", None),
max_retries=kwargs.pop("max_retries", None),
timeout=timeout,
max_retries=max_retries,
captured_headers=captured_headers,
retry_config=retry_config,
base_url=client_settings.build_base_url(model_name=model_name, api_config=api_config),
headers={
**kwargs.pop("default_headers", {}),
**client_settings.build_auth_headers(model_name=model_name, api_config=api_config),
},
base_url=base_url,
headers=merged_headers,
logger=logger,
auth=client_settings.build_auth_pipeline(),
auth=auth,
)
httpx_async_client = UiPathHttpxAsyncClient(
model_name=model_name,
byo_connection_id=byo_connection_id,
api_config=api_config,
timeout=kwargs.pop("timeout", None),
max_retries=kwargs.pop("max_retries", None),
timeout=timeout,
max_retries=max_retries,
captured_headers=captured_headers,
retry_config=retry_config,
base_url=client_settings.build_base_url(model_name=model_name, api_config=api_config),
headers={
**kwargs.pop("default_headers", {}),
**client_settings.build_auth_headers(model_name=model_name, api_config=api_config),
},
base_url=base_url,
headers=merged_headers,
logger=logger,
auth=client_settings.build_auth_pipeline(),
auth=auth,
)
super().__init__(
api_key="PLACEHOLDER",
Expand Down
15 changes: 15 additions & 0 deletions src/uipath/llm_client/clients/normalized/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
from uipath.llm_client.clients.normalized.client import (
NormalizedCompletions,
NormalizedEmbeddings,
OutputFormatType,
ToolType,
UiPathNormalizedClient,
)

__all__ = [
"NormalizedCompletions",
"NormalizedEmbeddings",
"OutputFormatType",
"ToolType",
"UiPathNormalizedClient",
]
Loading
Loading