Skip to content

Commit 5141fd3

Browse files
authored
Merge pull request #34 from UiPath/fix/add_metadata_to_nodes
fix: add metadata to graph nodes
2 parents 71b2ded + 7329586 commit 5141fd3

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-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-runtime"
3-
version = "0.0.21"
3+
version = "0.0.22"
44
description = "Runtime abstractions and interfaces for building agents and automation scripts in the UiPath ecosystem"
55
readme = { file = "README.md", content-type = "text/markdown" }
66
requires-python = ">=3.11"

src/uipath/runtime/schema.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,9 @@ class UiPathRuntimeNode(BaseModel):
2424
subgraph: UiPathRuntimeGraph | None = Field(
2525
None, description="Nested subgraph if this node contains one"
2626
)
27+
metadata: dict[str, Any] | None = Field(
28+
None, description="Additional node metadata (e.g., model config, tool names)"
29+
)
2730

2831
model_config = COMMON_MODEL_SCHEMA
2932

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)