agenta 0.49.5__py3-none-any.whl → 0.50.0__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 agenta might be problematic. Click here for more details.

@@ -113,13 +113,17 @@ class OTLPExporter(OTLPSpanExporter):
113
113
  else:
114
114
  return SpanExportResult.FAILURE
115
115
 
116
- def _export(self, serialized_data: bytes, timeout_sec: float):
116
+ def _export(self, serialized_data: bytes, timeout_sec: Optional[float] = None):
117
117
  credentials = exporting_context.get().credentials
118
118
 
119
119
  if credentials:
120
120
  self._session.headers.update({"Authorization": credentials})
121
121
 
122
- return super()._export(serialized_data, timeout_sec)
122
+ with suppress():
123
+ if timeout_sec is not None:
124
+ return super()._export(serialized_data, timeout_sec)
125
+ else:
126
+ return super()._export(serialized_data)
123
127
 
124
128
 
125
129
  ConsoleExporter = ConsoleSpanExporter
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: agenta
3
- Version: 0.49.5
3
+ Version: 0.50.0
4
4
  Summary: The SDK for agenta is an open-source LLMOps platform.
5
5
  Keywords: LLMOps,LLM,evaluation,prompt engineering
6
6
  Author: Mahmoud Mabrouk
@@ -24,7 +24,7 @@ Requires-Dist: jinja2 (>=3.1.6,<4.0.0)
24
24
  Requires-Dist: litellm (>=1.68.0)
25
25
  Requires-Dist: opentelemetry-api (>=1.27.0,<2.0.0)
26
26
  Requires-Dist: opentelemetry-exporter-otlp-proto-http (>=1.27.0,<2.0.0)
27
- Requires-Dist: opentelemetry-instrumentation (>=0.55b1)
27
+ Requires-Dist: opentelemetry-instrumentation (>=0.56b0)
28
28
  Requires-Dist: opentelemetry-sdk (>=1.27.0,<2.0.0)
29
29
  Requires-Dist: pydantic (>=2)
30
30
  Requires-Dist: python-dotenv (>=1.0.0,<2.0.0)
@@ -339,7 +339,7 @@ agenta/sdk/router.py,sha256=mOguvtOwl2wmyAgOuWTsf98pQwpNiUILKIo67W_hR3A,119
339
339
  agenta/sdk/tracing/__init__.py,sha256=rQNe5-zT5Kt7_CDhq-lnUIi1EYTBVzVf_MbfcIxVD98,41
340
340
  agenta/sdk/tracing/attributes.py,sha256=DwjjOk3mGOvz0jYu8EYr3hhItvawK5GX80_MfciqPrc,5559
341
341
  agenta/sdk/tracing/conventions.py,sha256=JBtznBXZ3aRkGKkLl7cPwdMNh3w1G-H2Ta2YrAxbr38,950
342
- agenta/sdk/tracing/exporters.py,sha256=Vr4OMIuvOzrk3_NMvgD7CGY2ApevAOxQQUIF6RAb7XM,3284
342
+ agenta/sdk/tracing/exporters.py,sha256=hSQCyQScaIihBy3oBjhY2BZZxyP_zTm3xHwB-iQHnsI,3448
343
343
  agenta/sdk/tracing/inline.py,sha256=ShPAAjk_26I4hgrmC6y0n-I9gxB3Q4VeEYhhsLHInPU,31454
344
344
  agenta/sdk/tracing/processors.py,sha256=wZWF8vTEouhbGxbfPGXVQJI53CcXFByqxHiCSIzJV-4,5407
345
345
  agenta/sdk/tracing/propagation.py,sha256=EeOqDMqnh_MoEhGd1do_vy_tQBYUcoC8kpLqVoZeqg0,2561
@@ -357,6 +357,6 @@ agenta/sdk/utils/logging.py,sha256=j4NzpFk2ilOM10sRBOxCjmansDHSx6HwMV8IAEreRb8,8
357
357
  agenta/sdk/utils/preinit.py,sha256=1TAAHhYyYnLLwvzwnf33Qwkou7tI3iITlVt-1kcyGaM,1186
358
358
  agenta/sdk/utils/singleton.py,sha256=17Ph7LGnnV8HkPjImruKita2ni03Ari5jr0jqm__4sc,312
359
359
  agenta/sdk/utils/timing.py,sha256=nZR-kudVUtKFlHuBhztgSGxj7FVnCB4Uv6sfg-1dkrQ,1556
360
- agenta-0.49.5.dist-info/METADATA,sha256=10LfI4qDkEl7S2FLLlB8bGYco4o-YduzFJ7acUwzC88,31512
361
- agenta-0.49.5.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
362
- agenta-0.49.5.dist-info/RECORD,,
360
+ agenta-0.50.0.dist-info/METADATA,sha256=DnlZWnLgz_NRS6WF-vy2uSViLYgVUnBh_EQQOwliJvE,31512
361
+ agenta-0.50.0.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
362
+ agenta-0.50.0.dist-info/RECORD,,