uipath-langchain 0.0.119__py3-none-any.whl → 0.0.120__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.

@@ -15,7 +15,7 @@ load_dotenv()
15
15
 
16
16
 
17
17
  def langgraph_run_middleware(
18
- entrypoint: Optional[str], input: Optional[str], resume: bool
18
+ entrypoint: Optional[str], input: Optional[str], resume: bool, **kwargs
19
19
  ) -> MiddlewareResult:
20
20
  """Middleware to handle langgraph execution"""
21
21
  config = LangGraphConfig()
@@ -38,10 +38,13 @@ def langgraph_run_middleware(
38
38
  context.input = input
39
39
  context.resume = resume
40
40
  context.langgraph_config = config
41
+ context.debug = kwargs.get("debug", False)
41
42
  context.logs_min_level = env.get("LOG_LEVEL", "INFO")
42
43
  context.job_id = env.get("UIPATH_JOB_KEY")
43
44
  context.trace_id = env.get("UIPATH_TRACE_ID")
44
45
  context.tracing_enabled = tracing
46
+ context.input_file = kwargs.get("input_file", None)
47
+ context.execution_output_file = kwargs.get("execution_output_file", None)
45
48
  context.trace_context = UiPathTraceContext(
46
49
  enabled=tracing,
47
50
  trace_id=env.get("UIPATH_TRACE_ID"),
@@ -64,7 +67,10 @@ def langgraph_run_middleware(
64
67
 
65
68
  asyncio.run(execute())
66
69
 
67
- return MiddlewareResult(should_continue=False, error_message=None)
70
+ return MiddlewareResult(
71
+ should_continue=False,
72
+ error_message=None,
73
+ )
68
74
 
69
75
  except LangGraphRuntimeError as e:
70
76
  return MiddlewareResult(
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: uipath-langchain
3
- Version: 0.0.119
3
+ Version: 0.0.120
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
@@ -24,7 +24,7 @@ Requires-Dist: langgraph>=0.2.70
24
24
  Requires-Dist: openai>=1.65.5
25
25
  Requires-Dist: pydantic-settings>=2.6.0
26
26
  Requires-Dist: python-dotenv>=1.0.1
27
- Requires-Dist: uipath<2.1.0,>=2.0.79
27
+ Requires-Dist: uipath<2.2.0,>=2.1.0
28
28
  Provides-Extra: langchain
29
29
  Description-Content-Type: text/markdown
30
30
 
@@ -3,7 +3,7 @@ uipath_langchain/middlewares.py,sha256=tre7o9DFMgWk1DJiEEUmT6_wiP-PPkWtKmG0iOyvr
3
3
  uipath_langchain/_cli/__init__.py,sha256=juqd9PbXs4yg45zMJ7BHAOPQjb7sgEbWE9InBtGZhfo,24
4
4
  uipath_langchain/_cli/cli_init.py,sha256=xhxJ8tuMSrVUNHvltgyPpOrvgMA-wq9shHeYYwvHILs,8199
5
5
  uipath_langchain/_cli/cli_new.py,sha256=dL8-Rri6u67ZZdbb4nT38A5xD_Q3fVnG0UK9VSeKaqg,2563
6
- uipath_langchain/_cli/cli_run.py,sha256=rGuYp9AEJdhHclOCFPX100Mo0kaDYt6e6pIKBgbS6ek,3023
6
+ uipath_langchain/_cli/cli_run.py,sha256=pi_3GdRxcDenO6wXa0e0zdh-_hm7nTKpqnS7LKf4gTs,3273
7
7
  uipath_langchain/_cli/_runtime/_context.py,sha256=yyzYJDmk2fkH4T5gm4cLGRyXtjLESrpzHBT9euqluTA,817
8
8
  uipath_langchain/_cli/_runtime/_exception.py,sha256=USKkLYkG-dzjX3fEiMMOHnVUpiXJs_xF0OQXCCOvbYM,546
9
9
  uipath_langchain/_cli/_runtime/_input.py,sha256=vZ8vfVxvPSaPWmIPghvNx1VRKzbalHsKUMBPiKDvJWM,5492
@@ -29,8 +29,8 @@ uipath_langchain/tracers/_instrument_traceable.py,sha256=0e841zVzcPWjOGtmBx0GeHb
29
29
  uipath_langchain/tracers/_utils.py,sha256=JOT1tKMdvqjMDtj2WbmbOWMeMlTXBWavxWpogX7KlRA,1543
30
30
  uipath_langchain/vectorstores/__init__.py,sha256=w8qs1P548ud1aIcVA_QhBgf_jZDrRMK5Lono78yA8cs,114
31
31
  uipath_langchain/vectorstores/context_grounding_vectorstore.py,sha256=TncIXG-YsUlO0R5ZYzWsM-Dj1SVCZbzmo2LraVxXelc,9559
32
- uipath_langchain-0.0.119.dist-info/METADATA,sha256=lvKCQMeKElyCpT30fvt_hC1GxrmDxy2vf8oN-vrE6iM,4166
33
- uipath_langchain-0.0.119.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
34
- uipath_langchain-0.0.119.dist-info/entry_points.txt,sha256=FUtzqGOEntlJKMJIXhQUfT7ZTbQmGhke1iCmDWZaQZI,81
35
- uipath_langchain-0.0.119.dist-info/licenses/LICENSE,sha256=JDpt-uotAkHFmxpwxi6gwx6HQ25e-lG4U_Gzcvgp7JY,1063
36
- uipath_langchain-0.0.119.dist-info/RECORD,,
32
+ uipath_langchain-0.0.120.dist-info/METADATA,sha256=_oQM5qOV7W-PPTcScseI-BCMMpy-8JDifrP_yCMnjxA,4165
33
+ uipath_langchain-0.0.120.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
34
+ uipath_langchain-0.0.120.dist-info/entry_points.txt,sha256=FUtzqGOEntlJKMJIXhQUfT7ZTbQmGhke1iCmDWZaQZI,81
35
+ uipath_langchain-0.0.120.dist-info/licenses/LICENSE,sha256=JDpt-uotAkHFmxpwxi6gwx6HQ25e-lG4U_Gzcvgp7JY,1063
36
+ uipath_langchain-0.0.120.dist-info/RECORD,,