uipath 2.1.55__py3-none-any.whl → 2.1.56__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.
- uipath/_cli/_runtime/_contracts.py +1 -3
- uipath/_cli/cli_eval.py +3 -0
- uipath/_cli/cli_run.py +4 -0
- {uipath-2.1.55.dist-info → uipath-2.1.56.dist-info}/METADATA +1 -1
- {uipath-2.1.55.dist-info → uipath-2.1.56.dist-info}/RECORD +8 -8
- {uipath-2.1.55.dist-info → uipath-2.1.56.dist-info}/WHEEL +0 -0
- {uipath-2.1.55.dist-info → uipath-2.1.56.dist-info}/entry_points.txt +0 -0
- {uipath-2.1.55.dist-info → uipath-2.1.56.dist-info}/licenses/LICENSE +0 -0
@@ -24,7 +24,7 @@ from opentelemetry.trace import Tracer
|
|
24
24
|
from pydantic import BaseModel, Field
|
25
25
|
|
26
26
|
from uipath.agent.conversation import UiPathConversationEvent, UiPathConversationMessage
|
27
|
-
from uipath.tracing import
|
27
|
+
from uipath.tracing import TracingManager
|
28
28
|
|
29
29
|
from ._logging import LogsInterceptor
|
30
30
|
|
@@ -698,8 +698,6 @@ class UiPathRuntimeFactory(Generic[T, C]):
|
|
698
698
|
self.tracer_provider: TracerProvider = TracerProvider()
|
699
699
|
self.tracer_span_processors: List[SpanProcessor] = []
|
700
700
|
trace.set_tracer_provider(self.tracer_provider)
|
701
|
-
if os.getenv("UIPATH_JOB_KEY"):
|
702
|
-
self.add_span_exporter(LlmOpsHttpExporter())
|
703
701
|
|
704
702
|
def add_span_exporter(
|
705
703
|
self,
|
uipath/_cli/cli_eval.py
CHANGED
@@ -14,6 +14,7 @@ from uipath._cli._runtime._contracts import (
|
|
14
14
|
from uipath._cli._runtime._runtime import UiPathScriptRuntime
|
15
15
|
from uipath._cli.middlewares import Middlewares
|
16
16
|
from uipath.eval._helpers import auto_discover_entrypoint
|
17
|
+
from uipath.tracing import LlmOpsHttpExporter
|
17
18
|
|
18
19
|
from .._utils.constants import ENV_JOB_ID
|
19
20
|
from ..telemetry import track
|
@@ -108,6 +109,8 @@ def eval(
|
|
108
109
|
UiPathRuntimeContext,
|
109
110
|
context_generator=generate_runtime_context,
|
110
111
|
)
|
112
|
+
if not no_report or eval_context.job_id:
|
113
|
+
runtime_factory.add_span_exporter(LlmOpsHttpExporter())
|
111
114
|
|
112
115
|
async def execute():
|
113
116
|
async with UiPathEvalRuntime.from_eval_context(
|
uipath/_cli/cli_run.py
CHANGED
@@ -7,6 +7,7 @@ from typing import Optional
|
|
7
7
|
import click
|
8
8
|
|
9
9
|
from uipath._cli._utils._debug import setup_debugging
|
10
|
+
from uipath.tracing import LlmOpsHttpExporter
|
10
11
|
|
11
12
|
from .._utils.constants import (
|
12
13
|
ENV_JOB_ID,
|
@@ -102,6 +103,7 @@ def run(
|
|
102
103
|
runtime_factory = UiPathRuntimeFactory(
|
103
104
|
UiPathScriptRuntime, UiPathRuntimeContext
|
104
105
|
)
|
106
|
+
|
105
107
|
context = UiPathRuntimeContext.with_defaults(
|
106
108
|
entrypoint=entrypoint,
|
107
109
|
input=input,
|
@@ -110,6 +112,8 @@ def run(
|
|
110
112
|
execution_output_file=output_file,
|
111
113
|
debug=debug,
|
112
114
|
)
|
115
|
+
if context.job_id:
|
116
|
+
runtime_factory.add_span_exporter(LlmOpsHttpExporter())
|
113
117
|
|
114
118
|
asyncio.run(runtime_factory.execute(context))
|
115
119
|
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: uipath
|
3
|
-
Version: 2.1.
|
3
|
+
Version: 2.1.56
|
4
4
|
Summary: Python SDK and CLI for UiPath Platform, enabling programmatic interaction with automation services, process management, and deployment tools.
|
5
5
|
Project-URL: Homepage, https://uipath.com
|
6
6
|
Project-URL: Repository, https://github.com/UiPath/uipath-python
|
@@ -9,7 +9,7 @@ uipath/_cli/__init__.py,sha256=tscKceSouYcEOxUbGjoyHi4qGi74giBFeXG1I-ut1hs,2308
|
|
9
9
|
uipath/_cli/cli_auth.py,sha256=i3ykLlCg68xgPXHHaa0agHwGFIiLiTLzOiF6Su8XaEo,2436
|
10
10
|
uipath/_cli/cli_deploy.py,sha256=KPCmQ0c_NYD5JofSDao5r6QYxHshVCRxlWDVnQvlp5w,645
|
11
11
|
uipath/_cli/cli_dev.py,sha256=nEfpjw1PZ72O6jmufYWVrueVwihFxDPOeJakdvNHdOA,2146
|
12
|
-
uipath/_cli/cli_eval.py,sha256=
|
12
|
+
uipath/_cli/cli_eval.py,sha256=NcneGZibECVKOOdBZJ4IdWAryJM7G_JTdVSY9IORASU,4002
|
13
13
|
uipath/_cli/cli_init.py,sha256=Ac3-9tIH3rpikIX1ehWTo7InW5tjVNoz_w6fjvgLK4w,7052
|
14
14
|
uipath/_cli/cli_invoke.py,sha256=4jyhqcy7tPrpxvaUhW-9gut6ddsCGMdJJcpOXXmIe8g,4348
|
15
15
|
uipath/_cli/cli_new.py,sha256=9378NYUBc9j-qKVXV7oja-jahfJhXBg8zKVyaon7ctY,2102
|
@@ -17,7 +17,7 @@ uipath/_cli/cli_pack.py,sha256=NmwZTfwZ2fURiHyiX1BM0juAtBOjPB1Jmcpu-rD7p-4,11025
|
|
17
17
|
uipath/_cli/cli_publish.py,sha256=FmBCdeh4zFaESOLfzTTPxGcOwUtsQ_WkvF_fjHEdU8s,6448
|
18
18
|
uipath/_cli/cli_pull.py,sha256=vwS0KMX6O2L6RaPy8tw_qzXe4dC7kf_G6nbLm0I62eI,6831
|
19
19
|
uipath/_cli/cli_push.py,sha256=-j-gDIbT8GyU2SybLQqFl5L8KI9nu3CDijVtltDgX20,3132
|
20
|
-
uipath/_cli/cli_run.py,sha256=
|
20
|
+
uipath/_cli/cli_run.py,sha256=1FKv20EjxrrP1I5rNSnL_HzbWtOAIMjB3M--4RPA_Yo,3709
|
21
21
|
uipath/_cli/middlewares.py,sha256=GvMhDnx1BmA7rIe12s6Uqv1JdqNZhvraU0a91oqGag4,4976
|
22
22
|
uipath/_cli/spinner.py,sha256=bS-U_HA5yne11ejUERu7CQoXmWdabUD2bm62EfEdV8M,1107
|
23
23
|
uipath/_cli/_auth/_auth_server.py,sha256=22km0F1NFNXgyLbvtAx3ssiQlVGHroLdtDCWEqiCiMg,7106
|
@@ -50,7 +50,7 @@ uipath/_cli/_evals/_models/_evaluation_set.py,sha256=mwcTstHuyHd7ys_nLzgCNKBAsS4
|
|
50
50
|
uipath/_cli/_evals/_models/_evaluator_base_params.py,sha256=lTYKOV66tcjW85KHTyOdtF1p1VDaBNemrMAvH8bFIFc,382
|
51
51
|
uipath/_cli/_evals/_models/_output.py,sha256=TTQ0hhmD3dTkIbj_Ly_rDCGSnpZsHwdmCsl7FLdoZD0,2634
|
52
52
|
uipath/_cli/_push/sw_file_handler.py,sha256=AX4TKM-q6CNGw3JyBW02M8ktPZuFMcAU9LN3Ii0Q2QI,18202
|
53
|
-
uipath/_cli/_runtime/_contracts.py,sha256=
|
53
|
+
uipath/_cli/_runtime/_contracts.py,sha256=7JSb-2C2zWigEW5hCsVz9vz19RNR8nSaML8-PC4lkmI,28665
|
54
54
|
uipath/_cli/_runtime/_escalation.py,sha256=x3vI98qsfRA-fL_tNkRVTFXioM5Gv2w0GFcXJJ5eQtg,7981
|
55
55
|
uipath/_cli/_runtime/_hitl.py,sha256=VKbM021nVg1HEDnTfucSLJ0LsDn83CKyUtVzofS2qTU,11369
|
56
56
|
uipath/_cli/_runtime/_logging.py,sha256=MGklGKPjYKjs7J5Jy9eplA9zCDsdtEbkZdCbTwgut_4,8311
|
@@ -148,8 +148,8 @@ uipath/tracing/_traced.py,sha256=CsuNMy67R5HCunuu84LnRNwcadNLhtHLMEawGaNsTYs,184
|
|
148
148
|
uipath/tracing/_utils.py,sha256=wJRELaPu69iY0AhV432Dk5QYf_N_ViRU4kAUG1BI1ew,10384
|
149
149
|
uipath/utils/__init__.py,sha256=VD-KXFpF_oWexFg6zyiWMkxl2HM4hYJMIUDZ1UEtGx0,105
|
150
150
|
uipath/utils/_endpoints_manager.py,sha256=iRTl5Q0XAm_YgcnMcJOXtj-8052sr6jpWuPNz6CgT0Q,8408
|
151
|
-
uipath-2.1.
|
152
|
-
uipath-2.1.
|
153
|
-
uipath-2.1.
|
154
|
-
uipath-2.1.
|
155
|
-
uipath-2.1.
|
151
|
+
uipath-2.1.56.dist-info/METADATA,sha256=FwOSIJ0R0gXGh9pIvx6xTl2GjTVElDiovjDpJ35X9ik,6482
|
152
|
+
uipath-2.1.56.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
153
|
+
uipath-2.1.56.dist-info/entry_points.txt,sha256=9C2_29U6Oq1ExFu7usihR-dnfIVNSKc-0EFbh0rskB4,43
|
154
|
+
uipath-2.1.56.dist-info/licenses/LICENSE,sha256=-KBavWXepyDjimmzH5fVAsi-6jNVpIKFc2kZs0Ri4ng,1058
|
155
|
+
uipath-2.1.56.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|