Skip to content

Commit eb9a5f1

Browse files
authored
Merge pull request #295 from UiPath/fix/empty_resumable_input
fix: empty resumable input
2 parents f4d0c24 + 167a076 commit eb9a5f1

File tree

3 files changed

+16
-13
lines changed

3 files changed

+16
-13
lines changed

pyproject.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@ description = "UiPath Langchain"
55
readme = { file = "README.md", content-type = "text/markdown" }
66
requires-python = ">=3.11"
77
dependencies = [
8-
"uipath>=2.2.7, <2.3.0",
8+
"uipath-runtime>=0.1.2, <0.2.0",
9+
"uipath>=2.2.8, <2.3.0",
910
"langgraph>=1.0.0, <2.0.0",
1011
"langchain-core>=1.0.0, <2.0.0",
1112
"langgraph-checkpoint-sqlite>=3.0.0, <4.0.0",

src/uipath_langchain/runtime/runtime.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -198,8 +198,8 @@ async def _get_graph_input(
198198
) -> Any:
199199
"""Process and return graph input."""
200200
if options and options.resume:
201-
return Command(resume=input)
202-
return input
201+
return Command(resume=input or {})
202+
return input or {}
203203

204204
async def _get_graph_state(
205205
self,

uv.lock

Lines changed: 12 additions & 10 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)