uipath-langchain 0.0.88__py3-none-any.whl → 0.0.89__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of uipath-langchain might be problematic. Click here for more details.

@@ -277,11 +277,11 @@ class LangGraphOutputProcessor:
277
277
  if isinstance(self.interrupt_value, CreateAction):
278
278
  action = uipath_sdk.actions.create(
279
279
  title=self.interrupt_value.title,
280
- app_name=self.interrupt_value.name
281
- if self.interrupt_value.name
280
+ app_name=self.interrupt_value.app_name
281
+ if self.interrupt_value.app_name
282
282
  else "",
283
- app_key=self.interrupt_value.key
284
- if self.interrupt_value.key
283
+ app_key=self.interrupt_value.app_key
284
+ if self.interrupt_value.app_key
285
285
  else "",
286
286
  app_version=self.interrupt_value.app_version
287
287
  if self.interrupt_value.app_version
@@ -1,5 +1,6 @@
1
1
  import json
2
2
  import logging
3
+ import os
3
4
  from typing import List, Optional
4
5
 
5
6
  from langchain_core.callbacks.base import BaseCallbackHandler
@@ -54,6 +55,11 @@ class LangGraphRuntime(UiPathBaseRuntime):
54
55
  tracer = None
55
56
 
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
+
57
63
  async with AsyncSqliteSaver.from_conn_string(
58
64
  self.state_file_path
59
65
  ) as memory:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: uipath-langchain
3
- Version: 0.0.88
3
+ Version: 0.0.89
4
4
  Summary: UiPath Langchain
5
5
  Project-URL: Homepage, https://uipath.com
6
6
  Project-URL: Repository, https://github.com/UiPath/uipath-langchain-python
@@ -25,7 +25,7 @@ Requires-Dist: pydantic-settings>=2.6.0
25
25
  Requires-Dist: python-dotenv>=1.0.1
26
26
  Requires-Dist: requests>=2.23.3
27
27
  Requires-Dist: types-requests>=2.32.0.20241016
28
- Requires-Dist: uipath<2.1.0,>=2.0.4
28
+ Requires-Dist: uipath<2.1.0,>=2.0.7
29
29
  Provides-Extra: langchain
30
30
  Description-Content-Type: text/markdown
31
31
 
@@ -7,8 +7,8 @@ uipath_langchain/_cli/_runtime/_context.py,sha256=wr4aNn06ReIXmetEZ6b6AnpAt64p13
7
7
  uipath_langchain/_cli/_runtime/_escalation.py,sha256=oA5NvZvCo8ngELFJRyhZNM69DxVHrshhMY6CUk_cukQ,8055
8
8
  uipath_langchain/_cli/_runtime/_exception.py,sha256=USKkLYkG-dzjX3fEiMMOHnVUpiXJs_xF0OQXCCOvbYM,546
9
9
  uipath_langchain/_cli/_runtime/_input.py,sha256=aaqU7ZiTwVmE1CgaiqgOtArr925bYr9c4CuWt1oC-jk,5418
10
- uipath_langchain/_cli/_runtime/_output.py,sha256=we6sdXGI-dARRWUgcwblB8CMytBmYncJh6xiMkwcAVA,14238
11
- uipath_langchain/_cli/_runtime/_runtime.py,sha256=PWzs0EnmpzkEIceoPq_SVLLgFbTC1aU71HbPYvlzVOg,11121
10
+ uipath_langchain/_cli/_runtime/_output.py,sha256=0SksiIoFxtfSvy7_VL49KwGD_ljs76SvFbn5B8O_Pls,14254
11
+ uipath_langchain/_cli/_runtime/_runtime.py,sha256=P6VQtfQYot0c0wt-7BB8NjkQu39zWuGuZUcMYKk4I18,11387
12
12
  uipath_langchain/_cli/_utils/_graph.py,sha256=WLBSJfPc3_C07SqJhePRe17JIc5wcBvEqLviMcNOdTA,6950
13
13
  uipath_langchain/_utils/__init__.py,sha256=Sp2qnEXLAp9ftQ09x7CZMenYnpXIIGFJNv8zNN7vAsw,172
14
14
  uipath_langchain/_utils/_request_mixin.py,sha256=t_1HWBxqEl-wsSk9ubmIM-8vs9BlNy4ZVBxtDxktn6U,18489
@@ -33,8 +33,8 @@ uipath_langchain/utils/_request_mixin.py,sha256=WFyTDyAthSci1DRwUwS21I3hLntD7HdV
33
33
  uipath_langchain/utils/_settings.py,sha256=MhwEVj4gVRSar0RBf2w2hTjO-5Qm-HpCuufqN3gSWjA,3390
34
34
  uipath_langchain/utils/_sleep_policy.py,sha256=e9pHdjmcCj4CVoFM1jMyZFelH11YatsgWfpyrfXzKBQ,1251
35
35
  uipath_langchain/vectorstores/context_grounding_vectorstore.py,sha256=eTa5sX43-ydB1pj9VNHUPbB-hC36fZK_CGrNe5U2Nrw,9393
36
- uipath_langchain-0.0.88.dist-info/METADATA,sha256=rSi1XhzmDNx8D5LB0F4lhuYTCrlNoMMU6bbTJHknIUY,3818
37
- uipath_langchain-0.0.88.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
38
- uipath_langchain-0.0.88.dist-info/entry_points.txt,sha256=FUtzqGOEntlJKMJIXhQUfT7ZTbQmGhke1iCmDWZaQZI,81
39
- uipath_langchain-0.0.88.dist-info/licenses/LICENSE,sha256=JDpt-uotAkHFmxpwxi6gwx6HQ25e-lG4U_Gzcvgp7JY,1063
40
- uipath_langchain-0.0.88.dist-info/RECORD,,
36
+ uipath_langchain-0.0.89.dist-info/METADATA,sha256=ZHZswhIZpl3k73iZpuwlNa9tHCp5Y-AhqQAcRfsS9II,3818
37
+ uipath_langchain-0.0.89.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
38
+ uipath_langchain-0.0.89.dist-info/entry_points.txt,sha256=FUtzqGOEntlJKMJIXhQUfT7ZTbQmGhke1iCmDWZaQZI,81
39
+ uipath_langchain-0.0.89.dist-info/licenses/LICENSE,sha256=JDpt-uotAkHFmxpwxi6gwx6HQ25e-lG4U_Gzcvgp7JY,1063
40
+ uipath_langchain-0.0.89.dist-info/RECORD,,