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"
version = "2.8.17"
version = "2.8.18"
description = "Python SDK and CLI for UiPath Platform, enabling programmatic interaction with automation services, process management, and deployment tools."
readme = { file = "README.md", content-type = "text/markdown" }
requires-python = ">=3.11"
dependencies = [
"uipath-core>=0.3.0, <0.4.0",
"uipath-runtime>=0.7.1, <0.8.0",
"uipath-core>=0.4.0, <0.5.0",
"uipath-runtime>=0.8.0, <0.9.0",
"click>=8.3.1",
"httpx>=0.28.1",
"pyjwt>=2.10.1",
Expand Down
8 changes: 4 additions & 4 deletions tests/cli/test_hitl.py
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,7 @@ async def test_read_job_trigger_failed(
with pytest.raises(UiPathFaultedTriggerError) as exc_info:
reader = UiPathResumeTriggerReader()
await reader.read_trigger(resume_trigger)
assert exc_info.value.args[0] == ErrorCategory.USER
assert exc_info.value.category == ErrorCategory.USER
mock_retrieve_async.assert_called_once_with(
job_key,
folder_key="test-folder",
Expand Down Expand Up @@ -364,7 +364,7 @@ async def test_read_api_trigger_failure(
with pytest.raises(UiPathFaultedTriggerError) as exc_info:
reader = UiPathResumeTriggerReader()
await reader.read_trigger(resume_trigger)
assert exc_info.value.args[0] == ErrorCategory.SYSTEM
assert exc_info.value.category == ErrorCategory.SYSTEM

@pytest.mark.anyio
async def test_read_deep_rag_trigger_successful(
Expand Down Expand Up @@ -476,7 +476,7 @@ async def test_read_deep_rag_trigger_failed(
with pytest.raises(UiPathFaultedTriggerError) as exc_info:
reader = UiPathResumeTriggerReader()
await reader.read_trigger(resume_trigger)
assert exc_info.value.args[0] == ErrorCategory.USER
assert exc_info.value.category == ErrorCategory.USER

@pytest.mark.anyio
async def test_read_deep_rag_trigger_empty_response(
Expand Down Expand Up @@ -673,7 +673,7 @@ async def test_read_ephemeral_index_trigger_failed(
with pytest.raises(UiPathFaultedTriggerError) as exc_info:
reader = UiPathResumeTriggerReader()
await reader.read_trigger(resume_trigger)
assert exc_info.value.args[0] == ErrorCategory.USER
assert exc_info.value.category == ErrorCategory.USER

@pytest.mark.anyio
async def test_read_ixp_vs_escalation_trigger_successful(
Expand Down
11 changes: 10 additions & 1 deletion tests/sdk/services/test_conversations_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@ async def test_retrieve_message(
"messageId": message_id,
"role": "assistant",
"contentParts": [],
"toolCalls": [],
"interrupts": [],
"createdAt": "2024-01-01T00:00:00Z",
"updatedAt": "2024-01-01T00:00:00Z",
},
Expand Down Expand Up @@ -87,8 +89,12 @@ async def test_retrieve_message_with_content_parts(
"contentPartId": "cp-1",
"mimeType": "text/plain",
"data": {"inline": "Hello, world!"},
"createdAt": "2024-01-01T00:00:00Z",
"updatedAt": "2024-01-01T00:00:00Z",
}
],
"toolCalls": [],
"interrupts": [],
"createdAt": "2024-01-01T00:00:00Z",
"updatedAt": "2024-01-01T00:00:00Z",
},
Expand Down Expand Up @@ -133,9 +139,12 @@ async def test_retrieve_message_with_tool_calls(
{
"toolCallId": "tc-1",
"name": "get_weather",
"arguments": {"inline": '{"city": "San Francisco"}'},
"input": {"city": "San Francisco"},
"createdAt": "2024-01-01T00:00:00Z",
"updatedAt": "2024-01-01T00:00:00Z",
}
],
"interrupts": [],
"createdAt": "2024-01-01T00:00:00Z",
"updatedAt": "2024-01-01T00:00:00Z",
},
Expand Down
18 changes: 9 additions & 9 deletions uv.lock

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

Loading