Skip to content
Open
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
5 changes: 4 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ readme = { file = "README.md", content-type = "text/markdown" }
requires-python = ">=3.11"
dependencies = [
"uipath>=2.10.79, <2.12.0",
"uipath-core>=0.5.20, <0.6.0",
"uipath-core==0.5.23.dev1017616946",
"uipath-platform>=0.1.71, <0.2.0",
"uipath-runtime>=0.11.0, <0.12.0",
"langgraph>=1.1.8, <2.0.0",
Expand Down Expand Up @@ -169,3 +169,6 @@ name = "testpypi"
url = "https://test.pypi.org/simple/"
publish-url = "https://test.pypi.org/legacy/"
explicit = true

[tool.uv.sources]
uipath-core = { index = "testpypi" }
16 changes: 16 additions & 0 deletions src/uipath_langchain/governance/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
"""Governance integration for ``uipath-langchain``.

Exposes :class:`GovernanceCallbackHandler` — a LangChain callback
handler that calls an :class:`~uipath.core.adapters.EvaluatorProtocol`
on the model and tool lifecycle. Wired into a run by passing an
``evaluator`` to :class:`UiPathLangGraphRuntimeFactory`; the factory
builds the handler and hands it to the runtime through the existing
``callbacks`` channel.

Importing this module has no side effects: no adapter is registered,
no global state is mutated.
"""

from .callbacks import GovernanceCallbackHandler

__all__ = ["GovernanceCallbackHandler"]
Loading