Skip to content

Commit 799292f

Browse files
committed
feat: added new uipath_langchain_client and refactor code base to use it
1 parent 2a29ea8 commit 799292f

63 files changed

Lines changed: 3013 additions & 6444 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

pyproject.toml

Lines changed: 19 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "uipath-langchain"
3-
version = "0.9.29"
3+
version = "0.10.0"
44
description = "Python SDK that enables developers to build and deploy LangGraph agents to the UiPath Cloud Platform"
55
readme = { file = "README.md", content-type = "text/markdown" }
66
requires-python = ">=3.11"
@@ -12,7 +12,6 @@ dependencies = [
1212
"langgraph>=1.0.0, <2.0.0",
1313
"langchain-core>=1.2.11, <2.0.0",
1414
"langgraph-checkpoint-sqlite>=3.0.3, <4.0.0",
15-
"langchain-openai>=1.0.0, <2.0.0",
1615
"langchain>=1.0.0, <2.0.0",
1716
"pydantic-settings>=2.6.0",
1817
"python-dotenv>=1.0.1",
@@ -24,6 +23,7 @@ dependencies = [
2423
"langchain-mcp-adapters==0.2.1",
2524
"pillow>=12.1.1",
2625
"a2a-sdk>=0.2.0",
26+
"uipath-langchain-client[openai]>=1.9.2",
2727
]
2828

2929
classifiers = [
@@ -39,8 +39,22 @@ maintainers = [
3939
]
4040

4141
[project.optional-dependencies]
42-
vertex = ["langchain-google-genai>=2.0.0", "google-generativeai>=0.8.0"]
43-
bedrock = ["langchain-aws>=0.2.35", "boto3-stubs>=1.41.4"]
42+
anthropic = [
43+
"uipath-langchain-client[anthropic]>=1.9.2",
44+
]
45+
vertex = [
46+
"uipath-langchain-client[google]>=1.9.2",
47+
"uipath-langchain-client[vertexai]>=1.9.2",
48+
]
49+
bedrock = [
50+
"uipath-langchain-client[bedrock]>=1.9.2",
51+
]
52+
fireworks = [
53+
"uipath-langchain-client[fireworks]>=1.9.2",
54+
]
55+
all = [
56+
"uipath-langchain-client[all]>=1.9.2",
57+
]
4458

4559
[project.entry-points."uipath.middlewares"]
4660
register = "uipath_langchain.middlewares:register_middleware"
@@ -71,6 +85,7 @@ dev = [
7185
"numpy>=1.24.0",
7286
"pytest_httpx>=0.35.0",
7387
"rust-just>=1.39.0",
88+
"pyright>=1.1.408",
7489
]
7590

7691
[tool.hatch.build.targets.wheel]

pyrightconfig.json

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
{
2+
"include": ["src"],
3+
"exclude": ["samples", "testcases", "template"],
4+
"pythonVersion": "3.11",
5+
"typeCheckingMode": "basic",
6+
"reportCallIssue": "none",
7+
"reportArgumentType": "none",
8+
"reportAttributeAccessIssue": "none",
9+
"reportIndexIssue": "none",
10+
"reportInvalidTypeForm": "none",
11+
"reportReturnType": "warning",
12+
"reportAssignmentType": "warning",
13+
"reportPossiblyUnbound": "error",
14+
"reportGeneralTypeIssues": "warning",
15+
"reportUnsupportedDunderAll": "none"
16+
}
Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
11
from ._environment import get_execution_folder_path
2-
from ._request_mixin import UiPathRequestMixin
32

4-
__all__ = ["UiPathRequestMixin", "get_execution_folder_path"]
3+
__all__ = ["get_execution_folder_path"]

0 commit comments

Comments
 (0)