Skip to content

Commit 6e11d22

Browse files
feat: add execution stage for new guardrails (#683)
1 parent bf90524 commit 6e11d22

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "uipath-langchain"
3-
version = "0.8.14"
3+
version = "0.8.15"
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"

src/uipath_langchain/agent/react/guardrails/guardrails_subgraph.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,8 @@
3333
_VALIDATOR_ALLOWED_STAGES = {
3434
"prompt_injection": {ExecutionStage.PRE_EXECUTION},
3535
"pii_detection": {ExecutionStage.PRE_EXECUTION, ExecutionStage.POST_EXECUTION},
36+
"harmful_content": {ExecutionStage.PRE_EXECUTION, ExecutionStage.POST_EXECUTION},
37+
"intellectual_property": {ExecutionStage.POST_EXECUTION},
3638
}
3739

3840

uv.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)