Skip to content

Commit 12ed0a7

Browse files
fix: circular dependency
1 parent e520b73 commit 12ed0a7

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/uipath_langchain/agent/tools/escalation_tool.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@
1818
from uipath.platform import UiPath
1919
from uipath.platform.common import CreateEscalation
2020

21-
from ..react.types import AgentGraphNode, AgentTerminationSource
2221
from .utils import sanitize_tool_name
2322

2423

@@ -79,6 +78,8 @@ def create_escalation_tool(resource: AgentEscalationResourceConfig) -> Structure
7978
async def escalation_tool_fn(
8079
runtime: ToolRuntime, **kwargs: Any
8180
) -> Command[Any] | Any:
81+
from ..react.types import AgentGraphNode, AgentTerminationSource
82+
8283
task_title = channel.task_title or "Escalation Task"
8384

8485
result = interrupt(

0 commit comments

Comments
 (0)