Skip to content

Commit 20f51b6

Browse files
feat: add input schema as metadata (#520)
1 parent a80e1ef commit 20f51b6

4 files changed

Lines changed: 6 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.5.25"
3+
version = "0.5.26"
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/internal_tools/analyze_files_tool.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,9 @@ async def analyze_file_tool_wrapper(
101101
coroutine=tool_fn,
102102
output_type=output_model,
103103
argument_properties=resource.argument_properties,
104+
metadata={
105+
"args_schema": input_model,
106+
},
104107
)
105108
tool.set_tool_wrappers(awrapper=analyze_file_tool_wrapper)
106109
return tool

src/uipath_langchain/agent/tools/process_tool.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,7 @@ async def process_tool_wrapper(
7575
"tool_type": "process",
7676
"display_name": process_name,
7777
"folder_path": folder_path,
78+
"args_schema": input_model,
7879
},
7980
argument_properties=resource.argument_properties,
8081
)

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)