Skip to content

Commit 4e7b2fb

Browse files
committed
fix: i/o schema generation
1 parent 9aca4b9 commit 4e7b2fb

3 files changed

Lines changed: 4 additions & 4 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.18"
3+
version = "0.5.19"
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/runtime/schema.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -324,7 +324,7 @@ def get_entrypoints_schema(
324324
"output": {"type": "object", "properties": {}, "required": []},
325325
}
326326

327-
if hasattr(graph, "input_schema"):
327+
if hasattr(graph, "get_input_jsonschema"):
328328
input_schema = graph.get_input_jsonschema()
329329
unpacked_ref_def_properties, input_circular_dependency = transform_references(
330330
input_schema
@@ -339,7 +339,7 @@ def get_entrypoints_schema(
339339
schema["input"]["required"] = unpacked_ref_def_properties.get("required", [])
340340
schema["input"] = transform_attachments(schema["input"])
341341

342-
if hasattr(graph, "output_schema"):
342+
if hasattr(graph, "get_output_jsonschema"):
343343
output_schema = graph.get_output_jsonschema()
344344
unpacked_ref_def_properties, output_circular_dependency = transform_references(
345345
output_schema

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)