diff --git a/pyproject.toml b/pyproject.toml index c515eb06..e3292136 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,12 +1,12 @@ [project] name = "uipath-langchain" -version = "0.5.69" +version = "0.5.70" description = "Python SDK that enables developers to build and deploy LangGraph agents to the UiPath Cloud Platform" readme = { file = "README.md", content-type = "text/markdown" } requires-python = ">=3.11" dependencies = [ - "uipath>=2.8.39, <2.9.0", - "uipath-runtime>=0.8.6, <0.9.0", + "uipath>=2.8.41, <2.9.0", + "uipath-runtime>=0.9.0, <0.10.0", "langgraph>=1.0.0, <2.0.0", "langchain-core>=1.2.11, <2.0.0", "langgraph-checkpoint-sqlite>=3.0.3, <4.0.0", diff --git a/tests/runtime/chat_message_mapper.py b/tests/runtime/chat_message_mapper.py index db69aadb..032d5fc7 100644 --- a/tests/runtime/chat_message_mapper.py +++ b/tests/runtime/chat_message_mapper.py @@ -134,6 +134,7 @@ def test_map_messages_converts_uipath_messages(self): content_part_id="part-1", mime_type="text/plain", data=UiPathInlineValue(inline="hello world"), + citations=[], created_at=TEST_TIMESTAMP, updated_at=TEST_TIMESTAMP, ) @@ -216,6 +217,7 @@ def test_map_messages_handles_user_message_with_multiple_content_parts(self): content_part_id="part-1", mime_type="text/plain", data=UiPathInlineValue(inline="first part"), + citations=[], created_at=TEST_TIMESTAMP, updated_at=TEST_TIMESTAMP, ), @@ -223,6 +225,7 @@ def test_map_messages_handles_user_message_with_multiple_content_parts(self): content_part_id="part-2", mime_type="text/plain", data=UiPathInlineValue(inline="second part"), + citations=[], created_at=TEST_TIMESTAMP, updated_at=TEST_TIMESTAMP, ), @@ -277,6 +280,7 @@ def test_map_messages_handles_assistant_message_without_tool_calls(self): content_part_id="part-1", mime_type="text/plain", data=UiPathInlineValue(inline="I can help with that!"), + citations=[], created_at=TEST_TIMESTAMP, updated_at=TEST_TIMESTAMP, ) @@ -309,6 +313,7 @@ def test_map_messages_handles_tool_calls_without_results(self): content_part_id="part-1", mime_type="text/plain", data=UiPathInlineValue(inline="Let me search for that."), + citations=[], created_at=TEST_TIMESTAMP, updated_at=TEST_TIMESTAMP, ) @@ -360,6 +365,7 @@ def test_map_messages_includes_tool_calls_with_results(self): content_part_id="part-1", mime_type="text/plain", data=UiPathInlineValue(inline="Let me search for that."), + citations=[], created_at=TEST_TIMESTAMP, updated_at=TEST_TIMESTAMP, ) @@ -643,6 +649,7 @@ def test_map_messages_handles_mixed_user_and_assistant_messages(self): content_part_id="part-1", mime_type="text/plain", data=UiPathInlineValue(inline="Hello"), + citations=[], created_at=TEST_TIMESTAMP, updated_at=TEST_TIMESTAMP, ) @@ -660,6 +667,7 @@ def test_map_messages_handles_mixed_user_and_assistant_messages(self): content_part_id="part-2", mime_type="text/plain", data=UiPathInlineValue(inline="Hi there!"), + citations=[], created_at=TEST_TIMESTAMP, updated_at=TEST_TIMESTAMP, ) @@ -677,6 +685,7 @@ def test_map_messages_handles_mixed_user_and_assistant_messages(self): content_part_id="part-3", mime_type="text/plain", data=UiPathInlineValue(inline="How are you?"), + citations=[], created_at=TEST_TIMESTAMP, updated_at=TEST_TIMESTAMP, ) @@ -706,6 +715,7 @@ def test_map_messages_handles_assistant_with_multiple_content_parts(self): content_part_id="part-1", mime_type="text/plain", data=UiPathInlineValue(inline="First part. "), + citations=[], created_at=TEST_TIMESTAMP, updated_at=TEST_TIMESTAMP, ), @@ -713,6 +723,7 @@ def test_map_messages_handles_assistant_with_multiple_content_parts(self): content_part_id="part-2", mime_type="text/plain", data=UiPathInlineValue(inline="Second part."), + citations=[], created_at=TEST_TIMESTAMP, updated_at=TEST_TIMESTAMP, ), diff --git a/uv.lock b/uv.lock index f0f5a76d..becf7e85 100644 --- a/uv.lock +++ b/uv.lock @@ -3280,7 +3280,7 @@ wheels = [ [[package]] name = "uipath" -version = "2.8.39" +version = "2.8.41" source = { registry = "https://pypi.org/simple" } dependencies = [ { name = "applicationinsights" }, @@ -3302,28 +3302,28 @@ dependencies = [ { name = "uipath-core" }, { name = "uipath-runtime" }, ] -sdist = { url = "https://files.pythonhosted.org/packages/bd/76/ebf085b05e87db8fa55d07f325208c1ef70e3a23184e60132617990412c4/uipath-2.8.39.tar.gz", hash = "sha256:5dc9b2801cae4a1fe30809c1379c9adb13f49ce5d892e8d948900f8a24bb3580", size = 4365544, upload-time = "2026-02-17T15:11:44.036Z" } +sdist = { url = "https://files.pythonhosted.org/packages/70/bc/a14486bd49814f99c7c96ff484a8c0ad686360db456e713e002384c89463/uipath-2.8.41.tar.gz", hash = "sha256:4f2cbd3ab4f61a429bebaa84e63eeb67411a7b5bc0bdd3e75aaed1ca283adc4a", size = 4580851, upload-time = "2026-02-18T22:29:47.725Z" } wheels = [ - { url = "https://files.pythonhosted.org/packages/96/85/290786a30b0b8869be38dea2098f78d4d9ab308623acce7b9fa923a95701/uipath-2.8.39-py3-none-any.whl", hash = "sha256:adeb3bad743bd303840c338b33b777c705cbb57bf619957d927c0e91e462eae4", size = 482803, upload-time = "2026-02-17T15:11:42.425Z" }, + { url = "https://files.pythonhosted.org/packages/ec/53/81e0e57b95c6899b078c6a46445103b08368cb42a8a3fa1c2d8775dd760a/uipath-2.8.41-py3-none-any.whl", hash = "sha256:409b33bbc433997957aa92b03e3e4f7dc11d400a9da115edd0a40ac9bd6a5249", size = 484513, upload-time = "2026-02-18T22:29:46.055Z" }, ] [[package]] name = "uipath-core" -version = "0.4.1" +version = "0.5.0" source = { registry = "https://pypi.org/simple" } dependencies = [ { name = "opentelemetry-instrumentation" }, { name = "opentelemetry-sdk" }, { name = "pydantic" }, ] -sdist = { url = "https://files.pythonhosted.org/packages/8b/9a/c343d4a3716b962b588f0297e458b8e61126104167f6c86583571aa7d53f/uipath_core-0.4.1.tar.gz", hash = "sha256:f4a3213ade5e1badefef99fdf80b2318a33ae9b495723962fb937160703a6e79", size = 111183, upload-time = "2026-02-16T11:53:38.857Z" } +sdist = { url = "https://files.pythonhosted.org/packages/c9/c2/afdf9b6500e5a026c4921dfce2c6f5c586b0114c9d006fd02b31a252c238/uipath_core-0.5.0.tar.gz", hash = "sha256:8035335a1b548475cca7dc99621be644fe0b63f8791c0f01fbb911295cefb143", size = 116691, upload-time = "2026-02-18T21:04:32.815Z" } wheels = [ - { url = "https://files.pythonhosted.org/packages/a0/b6/703a9b715fa6adb84840ade9ecb49123fc600046c6caa7acfa4abe7682cc/uipath_core-0.4.1-py3-none-any.whl", hash = "sha256:140af50ce0c2a54124dee63c1798d2f729dbc002f739e91190588b10a13a53fd", size = 35559, upload-time = "2026-02-16T11:53:37.666Z" }, + { url = "https://files.pythonhosted.org/packages/ef/b2/fa4b2c77f9fe8c794e1d47083654a32b9e0843e4e353f0df5650b719d189/uipath_core-0.5.0-py3-none-any.whl", hash = "sha256:ae8eb511a8228bdf0b42561eae772404e05431623c1be3cade16d5639fca9cac", size = 39403, upload-time = "2026-02-18T21:04:30.987Z" }, ] [[package]] name = "uipath-langchain" -version = "0.5.69" +version = "0.5.70" source = { editable = "." } dependencies = [ { name = "httpx" }, @@ -3388,8 +3388,8 @@ requires-dist = [ { name = "openinference-instrumentation-langchain", specifier = ">=0.1.56" }, { name = "pydantic-settings", specifier = ">=2.6.0" }, { name = "python-dotenv", specifier = ">=1.0.1" }, - { name = "uipath", specifier = ">=2.8.39,<2.9.0" }, - { name = "uipath-runtime", specifier = ">=0.8.6,<0.9.0" }, + { name = "uipath", specifier = ">=2.8.41,<2.9.0" }, + { name = "uipath-runtime", specifier = ">=0.9.0,<0.10.0" }, ] provides-extras = ["vertex", "bedrock"] @@ -3411,14 +3411,14 @@ dev = [ [[package]] name = "uipath-runtime" -version = "0.8.6" +version = "0.9.0" source = { registry = "https://pypi.org/simple" } dependencies = [ { name = "uipath-core" }, ] -sdist = { url = "https://files.pythonhosted.org/packages/94/d3/b31a7ab49326a5f5174b971426c136da369277c860e548a170aa44cdae7c/uipath_runtime-0.8.6.tar.gz", hash = "sha256:24f9e6238528d29bb2355945191b48bed5d203f717bd29b4e775687d97b14ed8", size = 109413, upload-time = "2026-02-16T13:19:54.202Z" } +sdist = { url = "https://files.pythonhosted.org/packages/45/ce/82c4edfe6fa11807ea99babf7a53afbced4d3a17b3e020dfa6474ee4d73f/uipath_runtime-0.9.0.tar.gz", hash = "sha256:bc24f6f96fe0ad1d8549b16df51607d4e85558afe04abee294c9dff9790ccc96", size = 109587, upload-time = "2026-02-18T22:04:43.65Z" } wheels = [ - { url = "https://files.pythonhosted.org/packages/2e/eb/7027c8bc302da693aa350c67b3f6d0848e1e46958d8d5e0f95f3ee266fe7/uipath_runtime-0.8.6-py3-none-any.whl", hash = "sha256:efd1ce5b778994410e3f24b3c8b16af1787b00a5ea8fb8f4a6a9eaea0c6fe202", size = 41773, upload-time = "2026-02-16T13:19:52.408Z" }, + { url = "https://files.pythonhosted.org/packages/d7/e7/c8d0bd9316f4a528e36c52971df4dc01f96fbaf716dd62921253c69ab159/uipath_runtime-0.9.0-py3-none-any.whl", hash = "sha256:803010831cdead1d2563eed39025bb555be01626677bb23eecc918981cf93941", size = 41865, upload-time = "2026-02-18T22:04:42.03Z" }, ] [[package]]