Skip to content

Commit be77c16

Browse files
committed
feat: include ixp extraction tool in create_tools_from_resources
1 parent 4e037c7 commit be77c16

3 files changed

Lines changed: 7 additions & 2 deletions

File tree

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.4.22"
3+
version = "0.4.23"
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/tools/tool_factory.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,13 @@
77
AgentEscalationResourceConfig,
88
AgentIntegrationToolResourceConfig,
99
AgentInternalToolResourceConfig,
10+
AgentIxpExtractionResourceConfig,
1011
AgentProcessToolResourceConfig,
1112
BaseAgentResourceConfig,
1213
LowCodeAgentDefinition,
1314
)
1415

16+
from .extraction_tool import create_ixp_extraction_tool
1517
from .context_tool import create_context_tool
1618
from .escalation_tool import create_escalation_tool
1719
from .integration_tool import create_integration_tool
@@ -50,4 +52,7 @@ async def _build_tool_for_resource(
5052
elif isinstance(resource, AgentInternalToolResourceConfig):
5153
return create_internal_tool(resource, llm)
5254

55+
elif isinstance(resource, AgentIxpExtractionResourceConfig):
56+
return create_ixp_extraction_tool(resource)
57+
5358
return None

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)