Skip to content
Merged
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
6 changes: 3 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
11 changes: 11 additions & 0 deletions tests/runtime/chat_message_mapper.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
)
Expand Down Expand Up @@ -216,13 +217,15 @@ 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,
),
UiPathConversationContentPart(
content_part_id="part-2",
mime_type="text/plain",
data=UiPathInlineValue(inline="second part"),
citations=[],
created_at=TEST_TIMESTAMP,
updated_at=TEST_TIMESTAMP,
),
Expand Down Expand Up @@ -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,
)
Expand Down Expand Up @@ -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,
)
Expand Down Expand Up @@ -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,
)
Expand Down Expand Up @@ -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,
)
Expand All @@ -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,
)
Expand All @@ -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,
)
Expand Down Expand Up @@ -706,13 +715,15 @@ 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,
),
UiPathConversationContentPart(
content_part_id="part-2",
mime_type="text/plain",
data=UiPathInlineValue(inline="Second part."),
citations=[],
created_at=TEST_TIMESTAMP,
updated_at=TEST_TIMESTAMP,
),
Expand Down
24 changes: 12 additions & 12 deletions uv.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading