uipath-langchain-client 1.0.2__tar.gz → 1.0.4__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {uipath_langchain_client-1.0.2 → uipath_langchain_client-1.0.4}/CHANGELOG.md +11 -1
- {uipath_langchain_client-1.0.2 → uipath_langchain_client-1.0.4}/PKG-INFO +4 -2
- {uipath_langchain_client-1.0.2 → uipath_langchain_client-1.0.4}/pyproject.toml +3 -2
- {uipath_langchain_client-1.0.2 → uipath_langchain_client-1.0.4}/src/uipath_langchain_client/__version__.py +1 -1
- {uipath_langchain_client-1.0.2 → uipath_langchain_client-1.0.4}/src/uipath_langchain_client/base_client.py +1 -1
- {uipath_langchain_client-1.0.2 → uipath_langchain_client-1.0.4}/src/uipath_langchain_client/clients/openai/chat_models.py +4 -4
- {uipath_langchain_client-1.0.2 → uipath_langchain_client-1.0.4}/src/uipath_langchain_client/clients/openai/embeddings.py +4 -4
- {uipath_langchain_client-1.0.2 → uipath_langchain_client-1.0.4}/.gitignore +0 -0
- {uipath_langchain_client-1.0.2 → uipath_langchain_client-1.0.4}/README.md +0 -0
- {uipath_langchain_client-1.0.2 → uipath_langchain_client-1.0.4}/demo.py +0 -0
- {uipath_langchain_client-1.0.2 → uipath_langchain_client-1.0.4}/src/uipath_langchain_client/__init__.py +0 -0
- {uipath_langchain_client-1.0.2 → uipath_langchain_client-1.0.4}/src/uipath_langchain_client/clients/anthropic/__init__.py +0 -0
- {uipath_langchain_client-1.0.2 → uipath_langchain_client-1.0.4}/src/uipath_langchain_client/clients/anthropic/chat_models.py +0 -0
- {uipath_langchain_client-1.0.2 → uipath_langchain_client-1.0.4}/src/uipath_langchain_client/clients/azure/__init__.py +0 -0
- {uipath_langchain_client-1.0.2 → uipath_langchain_client-1.0.4}/src/uipath_langchain_client/clients/azure/chat_models.py +0 -0
- {uipath_langchain_client-1.0.2 → uipath_langchain_client-1.0.4}/src/uipath_langchain_client/clients/azure/embeddings.py +0 -0
- {uipath_langchain_client-1.0.2 → uipath_langchain_client-1.0.4}/src/uipath_langchain_client/clients/bedrock/__init__.py +0 -0
- {uipath_langchain_client-1.0.2 → uipath_langchain_client-1.0.4}/src/uipath_langchain_client/clients/bedrock/chat_models.py +0 -0
- {uipath_langchain_client-1.0.2 → uipath_langchain_client-1.0.4}/src/uipath_langchain_client/clients/bedrock/embeddings.py +0 -0
- {uipath_langchain_client-1.0.2 → uipath_langchain_client-1.0.4}/src/uipath_langchain_client/clients/bedrock/utils.py +0 -0
- {uipath_langchain_client-1.0.2 → uipath_langchain_client-1.0.4}/src/uipath_langchain_client/clients/google/__init__.py +0 -0
- {uipath_langchain_client-1.0.2 → uipath_langchain_client-1.0.4}/src/uipath_langchain_client/clients/google/chat_models.py +0 -0
- {uipath_langchain_client-1.0.2 → uipath_langchain_client-1.0.4}/src/uipath_langchain_client/clients/google/embeddings.py +0 -0
- {uipath_langchain_client-1.0.2 → uipath_langchain_client-1.0.4}/src/uipath_langchain_client/clients/normalized/__init__.py +0 -0
- {uipath_langchain_client-1.0.2 → uipath_langchain_client-1.0.4}/src/uipath_langchain_client/clients/normalized/chat_models.py +0 -0
- {uipath_langchain_client-1.0.2 → uipath_langchain_client-1.0.4}/src/uipath_langchain_client/clients/normalized/embeddings.py +0 -0
- {uipath_langchain_client-1.0.2 → uipath_langchain_client-1.0.4}/src/uipath_langchain_client/clients/openai/__init__.py +0 -0
- {uipath_langchain_client-1.0.2 → uipath_langchain_client-1.0.4}/src/uipath_langchain_client/clients/vertexai/__init__.py +0 -0
- {uipath_langchain_client-1.0.2 → uipath_langchain_client-1.0.4}/src/uipath_langchain_client/clients/vertexai/chat_models.py +0 -0
- {uipath_langchain_client-1.0.2 → uipath_langchain_client-1.0.4}/src/uipath_langchain_client/factory.py +0 -0
- {uipath_langchain_client-1.0.2 → uipath_langchain_client-1.0.4}/src/uipath_langchain_client/settings.py +0 -0
|
@@ -2,9 +2,19 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to `uipath_langchain_client` will be documented in this file.
|
|
4
4
|
|
|
5
|
+
## [1.0.4] - 2026-02-03
|
|
6
|
+
|
|
7
|
+
### Bug Fix
|
|
8
|
+
- Fix some timout issues on langchain_openai from llmgw.
|
|
9
|
+
|
|
10
|
+
## [1.0.3] - 2026-02-02
|
|
11
|
+
|
|
12
|
+
### Bug Fix
|
|
13
|
+
- Added better dependencies for langchain-anthropic to include boto and vertex
|
|
14
|
+
|
|
5
15
|
## [1.0.2] - 2026-02-02
|
|
6
16
|
|
|
7
|
-
###
|
|
17
|
+
### Bug Fix
|
|
8
18
|
- Removed old fix on Gemini streaming and updated with a new cleaner one
|
|
9
19
|
|
|
10
20
|
## [1.0.1] - 2026-02-02
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: uipath-langchain-client
|
|
3
|
-
Version: 1.0.
|
|
3
|
+
Version: 1.0.4
|
|
4
4
|
Summary: LangChain-compatible chat models and embeddings for UiPath's LLM services
|
|
5
5
|
Requires-Python: >=3.11
|
|
6
6
|
Requires-Dist: langchain>=1.2.7
|
|
7
|
-
Requires-Dist: uipath-llm-client>=1.0.
|
|
7
|
+
Requires-Dist: uipath-llm-client>=1.0.3
|
|
8
8
|
Provides-Extra: all
|
|
9
|
+
Requires-Dist: anthropic[bedrock,vertex]>=0.77.0; extra == 'all'
|
|
9
10
|
Requires-Dist: langchain-anthropic>=1.3.1; extra == 'all'
|
|
10
11
|
Requires-Dist: langchain-aws>=1.2.1; extra == 'all'
|
|
11
12
|
Requires-Dist: langchain-azure-ai>=1.0.0; extra == 'all'
|
|
@@ -13,6 +14,7 @@ Requires-Dist: langchain-google-genai>=4.2.0; extra == 'all'
|
|
|
13
14
|
Requires-Dist: langchain-google-vertexai>=3.2.1; extra == 'all'
|
|
14
15
|
Requires-Dist: langchain-openai>=1.1.7; extra == 'all'
|
|
15
16
|
Provides-Extra: anthropic
|
|
17
|
+
Requires-Dist: anthropic[bedrock,vertex]>=0.77.0; extra == 'anthropic'
|
|
16
18
|
Requires-Dist: langchain-anthropic>=1.3.1; extra == 'anthropic'
|
|
17
19
|
Provides-Extra: aws
|
|
18
20
|
Requires-Dist: langchain-aws>=1.2.1; extra == 'aws'
|
|
@@ -6,7 +6,7 @@ readme = "README.md"
|
|
|
6
6
|
requires-python = ">=3.11"
|
|
7
7
|
dependencies = [
|
|
8
8
|
"langchain>=1.2.7",
|
|
9
|
-
"uipath-llm-client>=1.0.
|
|
9
|
+
"uipath-llm-client>=1.0.3",
|
|
10
10
|
]
|
|
11
11
|
|
|
12
12
|
[project.optional-dependencies]
|
|
@@ -20,6 +20,7 @@ google = [
|
|
|
20
20
|
"langchain-google-genai>=4.2.0",
|
|
21
21
|
]
|
|
22
22
|
anthropic = [
|
|
23
|
+
"anthropic[bedrock,vertex]>=0.77.0",
|
|
23
24
|
"langchain-anthropic>=1.3.1",
|
|
24
25
|
]
|
|
25
26
|
azure = [
|
|
@@ -40,4 +41,4 @@ build-backend = "hatchling.build"
|
|
|
40
41
|
packages = ["src/uipath_langchain_client"]
|
|
41
42
|
|
|
42
43
|
[tool.hatch.version]
|
|
43
|
-
path = "src/uipath_langchain_client/__version__.py"
|
|
44
|
+
path = "src/uipath_langchain_client/__version__.py"
|
|
@@ -90,7 +90,7 @@ class UiPathBaseLLMClient(BaseModel):
|
|
|
90
90
|
)
|
|
91
91
|
default_headers: Mapping[str, str] | None = Field(
|
|
92
92
|
default={
|
|
93
|
-
"X-UiPath-LLMGateway-TimeoutSeconds": "
|
|
93
|
+
"X-UiPath-LLMGateway-TimeoutSeconds": "300", # server side timeout, default is 10, maximum is 300
|
|
94
94
|
"X-UiPath-LLMGateway-AllowFull4xxResponse": "true", # allow full 4xx responses (default is false)
|
|
95
95
|
},
|
|
96
96
|
description="Default request headers to include in requests",
|
|
@@ -43,13 +43,13 @@ class UiPathChatOpenAI(UiPathBaseLLMClient, ChatOpenAI): # type: ignore[overrid
|
|
|
43
43
|
self.root_client = OpenAI(
|
|
44
44
|
api_key="PLACEHOLDER",
|
|
45
45
|
timeout=None, # handled by the UiPath client
|
|
46
|
-
max_retries=
|
|
46
|
+
max_retries=0, # handled by the UiPath client
|
|
47
47
|
http_client=self.uipath_sync_client,
|
|
48
48
|
)
|
|
49
49
|
self.root_async_client = AsyncOpenAI(
|
|
50
50
|
api_key="PLACEHOLDER",
|
|
51
51
|
timeout=None, # handled by the UiPath client
|
|
52
|
-
max_retries=
|
|
52
|
+
max_retries=0, # handled by the UiPath client
|
|
53
53
|
http_client=self.uipath_async_client,
|
|
54
54
|
)
|
|
55
55
|
self.client = self.root_client.chat.completions
|
|
@@ -86,7 +86,7 @@ class UiPathAzureChatOpenAI(UiPathBaseLLMClient, AzureChatOpenAI): # type: igno
|
|
|
86
86
|
api_version="PLACEHOLDER",
|
|
87
87
|
api_key="PLACEHOLDER",
|
|
88
88
|
timeout=None, # handled by the UiPath client
|
|
89
|
-
max_retries=
|
|
89
|
+
max_retries=0, # handled by the UiPath client
|
|
90
90
|
http_client=self.uipath_sync_client,
|
|
91
91
|
)
|
|
92
92
|
self.root_async_client = AsyncAzureOpenAI(
|
|
@@ -94,7 +94,7 @@ class UiPathAzureChatOpenAI(UiPathBaseLLMClient, AzureChatOpenAI): # type: igno
|
|
|
94
94
|
api_version="PLACEHOLDER",
|
|
95
95
|
api_key="PLACEHOLDER",
|
|
96
96
|
timeout=None, # handled by the UiPath client
|
|
97
|
-
max_retries=
|
|
97
|
+
max_retries=0, # handled by the UiPath client
|
|
98
98
|
http_client=self.uipath_async_client,
|
|
99
99
|
)
|
|
100
100
|
self.client = self.root_client.chat.completions
|
|
@@ -36,13 +36,13 @@ class UiPathOpenAIEmbeddings(UiPathBaseLLMClient, OpenAIEmbeddings):
|
|
|
36
36
|
self.client = OpenAI(
|
|
37
37
|
api_key="PLACEHOLDER",
|
|
38
38
|
timeout=None, # handled by the UiPath client
|
|
39
|
-
max_retries=
|
|
39
|
+
max_retries=0, # handled by the UiPath client
|
|
40
40
|
http_client=self.uipath_sync_client,
|
|
41
41
|
).embeddings
|
|
42
42
|
self.async_client = AsyncOpenAI(
|
|
43
43
|
api_key="PLACEHOLDER",
|
|
44
44
|
timeout=None, # handled by the UiPath client
|
|
45
|
-
max_retries=
|
|
45
|
+
max_retries=0, # handled by the UiPath client
|
|
46
46
|
http_client=self.uipath_async_client,
|
|
47
47
|
).embeddings
|
|
48
48
|
return self
|
|
@@ -70,7 +70,7 @@ class UiPathAzureOpenAIEmbeddings(UiPathBaseLLMClient, AzureOpenAIEmbeddings):
|
|
|
70
70
|
api_version="PLACEHOLDER",
|
|
71
71
|
api_key="PLACEHOLDER",
|
|
72
72
|
timeout=None, # handled by the UiPath client
|
|
73
|
-
max_retries=
|
|
73
|
+
max_retries=0, # handled by the UiPath client
|
|
74
74
|
http_client=self.uipath_sync_client,
|
|
75
75
|
).embeddings
|
|
76
76
|
self.async_client = AsyncAzureOpenAI(
|
|
@@ -78,7 +78,7 @@ class UiPathAzureOpenAIEmbeddings(UiPathBaseLLMClient, AzureOpenAIEmbeddings):
|
|
|
78
78
|
api_version="PLACEHOLDER",
|
|
79
79
|
api_key="PLACEHOLDER",
|
|
80
80
|
timeout=None, # handled by the UiPath client
|
|
81
|
-
max_retries=
|
|
81
|
+
max_retries=0, # handled by the UiPath client
|
|
82
82
|
http_client=self.uipath_async_client,
|
|
83
83
|
).embeddings
|
|
84
84
|
return self
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|