We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 86343b7 commit 5235065Copy full SHA for 5235065
src/uipath_langchain/_cli/_runtime/_runtime.py
@@ -1,5 +1,6 @@
1
import json
2
import logging
3
+import os
4
from typing import List, Optional
5
6
from langchain_core.callbacks.base import BaseCallbackHandler
@@ -54,6 +55,11 @@ async def execute(self) -> Optional[UiPathRuntimeResult]:
54
55
tracer = None
56
57
try:
58
+ if self.context.resume is False and self.context.job_id is None:
59
+ # Delete the previous graph state file at debug time
60
+ if os.path.exists(self.state_file_path):
61
+ os.remove(self.state_file_path)
62
+
63
async with AsyncSqliteSaver.from_conn_string(
64
self.state_file_path
65
) as memory:
0 commit comments