From 73295860d3463fe13ac505fe5eddc518ae5df656 Mon Sep 17 00:00:00 2001 From: Cristian Pufu Date: Thu, 27 Nov 2025 15:31:13 +0200 Subject: [PATCH] fix: add metadata to graph nodes --- pyproject.toml | 2 +- src/uipath/runtime/schema.py | 3 +++ uv.lock | 2 +- 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 2fa8293..1da4e28 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "uipath-runtime" -version = "0.0.21" +version = "0.0.22" description = "Runtime abstractions and interfaces for building agents and automation scripts in the UiPath ecosystem" readme = { file = "README.md", content-type = "text/markdown" } requires-python = ">=3.11" diff --git a/src/uipath/runtime/schema.py b/src/uipath/runtime/schema.py index a01a42a..10d9877 100644 --- a/src/uipath/runtime/schema.py +++ b/src/uipath/runtime/schema.py @@ -24,6 +24,9 @@ class UiPathRuntimeNode(BaseModel): subgraph: UiPathRuntimeGraph | None = Field( None, description="Nested subgraph if this node contains one" ) + metadata: dict[str, Any] | None = Field( + None, description="Additional node metadata (e.g., model config, tool names)" + ) model_config = COMMON_MODEL_SCHEMA diff --git a/uv.lock b/uv.lock index 2c9005e..0f5288e 100644 --- a/uv.lock +++ b/uv.lock @@ -938,7 +938,7 @@ wheels = [ [[package]] name = "uipath-runtime" -version = "0.0.21" +version = "0.0.22" source = { editable = "." } dependencies = [ { name = "uipath-core" },