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

@@ -32,19 +32,24 @@ def dispatch_trace_event(
32
32
  metadata: Optional[Dict[str, Any]] = None,
33
33
  ):
34
34
  """Dispatch trace event to our server."""
35
+ try:
36
+ event_data = FunctionCallEventData(
37
+ function_name=func_name,
38
+ event_type=event_type,
39
+ inputs=inputs,
40
+ call_uuid=call_uuid,
41
+ output=result,
42
+ error=str(exception) if exception else None,
43
+ run_type=run_type,
44
+ tags=tags,
45
+ metadata=metadata,
46
+ )
35
47
 
36
- event_data = FunctionCallEventData(
37
- function_name=func_name,
38
- event_type=event_type,
39
- inputs=inputs,
40
- call_uuid=call_uuid,
41
- output=result,
42
- error=str(exception) if exception else None,
43
- run_type=run_type,
44
- tags=tags,
45
- metadata=metadata,
46
- )
47
- dispatch_custom_event(CustomTraceEvents.UIPATH_TRACE_FUNCTION_CALL, event_data)
48
+ dispatch_custom_event(CustomTraceEvents.UIPATH_TRACE_FUNCTION_CALL, event_data)
49
+ except Exception as e:
50
+ logger.debug(
51
+ f"Error dispatching trace event: {e}. Function name: {func_name} Event type: {event_type}"
52
+ )
48
53
 
49
54
 
50
55
  def format_args_for_trace(
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: uipath-langchain
3
- Version: 0.0.92
3
+ Version: 0.0.93
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
@@ -26,15 +26,15 @@ uipath_langchain/tracers/AsyncUiPathTracer.py,sha256=8eGWZ56iJcmhtRQU4cHuZYt6aJX
26
26
  uipath_langchain/tracers/UiPathTracer.py,sha256=V5g1nlB0TI1wYvUIkfCEcAdhy4thqeMBmjflWtxc-_M,5601
27
27
  uipath_langchain/tracers/__init__.py,sha256=MwrQh6iuPXMS72S5EX0JdCAX0TKe-l7fIPGV3EG0Ssk,256
28
28
  uipath_langchain/tracers/_events.py,sha256=CJri76SSdu7rGJIkXurJ2C5sQahfSK4E5UWwWYdEAtE,922
29
- uipath_langchain/tracers/_instrument_traceable.py,sha256=MP1xmSRpuzsGePoioiHUU0R7gT-BW6eA-25qKZpLyOk,13182
29
+ uipath_langchain/tracers/_instrument_traceable.py,sha256=DR1r-b1Vso7uA6V5six1NxTmLQWb_-qTWdbIicrbBcM,13401
30
30
  uipath_langchain/tracers/_utils.py,sha256=JOT1tKMdvqjMDtj2WbmbOWMeMlTXBWavxWpogX7KlRA,1543
31
31
  uipath_langchain/utils/__init__.py,sha256=-w-4TD9ZnJDCpj4VIPXhJciukrmDJJbmnOFnhAkAaEU,81
32
32
  uipath_langchain/utils/_request_mixin.py,sha256=WFyTDyAthSci1DRwUwS21I3hLntD7HdVzYc0ZPoi3ys,18296
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.92.dist-info/METADATA,sha256=gQX7bMt93pOFiHdTXAMZ1J3pBr6-sJuBP1BnybEtNAE,3819
37
- uipath_langchain-0.0.92.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
38
- uipath_langchain-0.0.92.dist-info/entry_points.txt,sha256=FUtzqGOEntlJKMJIXhQUfT7ZTbQmGhke1iCmDWZaQZI,81
39
- uipath_langchain-0.0.92.dist-info/licenses/LICENSE,sha256=JDpt-uotAkHFmxpwxi6gwx6HQ25e-lG4U_Gzcvgp7JY,1063
40
- uipath_langchain-0.0.92.dist-info/RECORD,,
36
+ uipath_langchain-0.0.93.dist-info/METADATA,sha256=Y5aA_gbI1TOko5HOHMIFspfJsnSWni2TjSYMucUxVfw,3819
37
+ uipath_langchain-0.0.93.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
38
+ uipath_langchain-0.0.93.dist-info/entry_points.txt,sha256=FUtzqGOEntlJKMJIXhQUfT7ZTbQmGhke1iCmDWZaQZI,81
39
+ uipath_langchain-0.0.93.dist-info/licenses/LICENSE,sha256=JDpt-uotAkHFmxpwxi6gwx6HQ25e-lG4U_Gzcvgp7JY,1063
40
+ uipath_langchain-0.0.93.dist-info/RECORD,,