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
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
[project]
name = "uipath-langchain"
version = "0.7.3"
version = "0.7.4"
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.9.8, <2.10.0",
"uipath>=2.9.10, <2.10.0",
"uipath-core>=0.5.2, <0.6.0",
"uipath-platform>=0.0.1, < 0.1.0",
"uipath-runtime>=0.9.1, <0.10.0",
Expand Down
5 changes: 4 additions & 1 deletion src/uipath_langchain/agent/react/terminate_node.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,10 @@ def _handle_end_conversational(
]
}
validated = response_schema.model_validate(output)
return validated.model_dump(by_alias=True)

# Dump with exclude_none to prevent UiPathConversation... fields with None values from being outputted (e.g. UiPathConversationContentPartData.isTranscript).
# May need to revisit if other output fields are added for conversational agents, where we want nulls outputted.
return validated.model_dump(by_alias=True, exclude_none=True)


def create_terminate_node(
Expand Down
10 changes: 5 additions & 5 deletions uv.lock

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