opentelemetry-instrumentation-openai 0.25.1__py3-none-any.whl → 0.25.3__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 opentelemetry-instrumentation-openai might be problematic. Click here for more details.

@@ -156,7 +156,7 @@ async def achat_wrapper(
156
156
  if context_api.get_value(_SUPPRESS_INSTRUMENTATION_KEY) or context_api.get_value(
157
157
  SUPPRESS_LANGUAGE_MODEL_INSTRUMENTATION_KEY
158
158
  ):
159
- return wrapped(*args, **kwargs)
159
+ return await wrapped(*args, **kwargs)
160
160
 
161
161
  span = tracer.start_span(
162
162
  SPAN_NAME,
@@ -67,7 +67,7 @@ async def acompletion_wrapper(tracer, wrapped, instance, args, kwargs):
67
67
  if context_api.get_value(_SUPPRESS_INSTRUMENTATION_KEY) or context_api.get_value(
68
68
  SUPPRESS_LANGUAGE_MODEL_INSTRUMENTATION_KEY
69
69
  ):
70
- return wrapped(*args, **kwargs)
70
+ return await wrapped(*args, **kwargs)
71
71
 
72
72
  span = tracer.start_span(
73
73
  name=SPAN_NAME,
@@ -112,7 +112,7 @@ async def aembeddings_wrapper(
112
112
  if context_api.get_value(_SUPPRESS_INSTRUMENTATION_KEY) or context_api.get_value(
113
113
  SUPPRESS_LANGUAGE_MODEL_INSTRUMENTATION_KEY
114
114
  ):
115
- return wrapped(*args, **kwargs)
115
+ return await wrapped(*args, **kwargs)
116
116
 
117
117
  async with start_as_current_span_async(
118
118
  tracer=tracer,
@@ -1 +1 @@
1
- __version__ = "0.25.1"
1
+ __version__ = "0.25.3"
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: opentelemetry-instrumentation-openai
3
- Version: 0.25.1
3
+ Version: 0.25.3
4
4
  Summary: OpenTelemetry OpenAI instrumentation
5
5
  Home-page: https://github.com/traceloop/openllmetry/tree/main/packages/opentelemetry-instrumentation-openai
6
6
  License: Apache-2.0
@@ -1,17 +1,17 @@
1
1
  opentelemetry/instrumentation/openai/__init__.py,sha256=w0gjgORccQ3EsMiK2dzZg6V7J3pa6PcAuDvy1oofQ5A,1503
2
2
  opentelemetry/instrumentation/openai/shared/__init__.py,sha256=U6_JB0RXrK6XK2Xhm450RtgHhZT1qMMSDSLtHjc57mY,8224
3
- opentelemetry/instrumentation/openai/shared/chat_wrappers.py,sha256=Oy4LGQGY4_khL9_wPBHm1DwU8NwleZw7dUAPc61cAXs,25471
4
- opentelemetry/instrumentation/openai/shared/completion_wrappers.py,sha256=UnygloMuP0udgMAE0ic6NJUVAqJ1CJKT-YjSe_9Ds0g,6834
3
+ opentelemetry/instrumentation/openai/shared/chat_wrappers.py,sha256=hdfGJmUw9DgSIC99fmPfFE1yZQky-kF-cy7gy9-d8l8,25477
4
+ opentelemetry/instrumentation/openai/shared/completion_wrappers.py,sha256=OuwS5vZwe_jTcWU7xnx8nVtqWCrGS1hcGbyKhQbf11g,6840
5
5
  opentelemetry/instrumentation/openai/shared/config.py,sha256=_4AkHau8C44uBc6-fNBl9EzCGPBuj9yDIngTuwSW6ZE,199
6
- opentelemetry/instrumentation/openai/shared/embeddings_wrappers.py,sha256=FvOKk8FzEJV01bUKqH-dwWe0k5DRhhpCG99ah4AUyUQ,6924
6
+ opentelemetry/instrumentation/openai/shared/embeddings_wrappers.py,sha256=EUtQEl9MP56YVe5tPY1QXNR0yNXw1MvfCwrIzmGXTAg,6930
7
7
  opentelemetry/instrumentation/openai/shared/image_gen_wrappers.py,sha256=GFgBqTiMcJFUmwKwkHDGpsnM3UXw_UJLBSVcxLbbr9Q,2122
8
8
  opentelemetry/instrumentation/openai/utils.py,sha256=3ONjsia3xG4rRMOwjU91liOVpZxoRE39CxJ-C5HxIgQ,3464
9
9
  opentelemetry/instrumentation/openai/v0/__init__.py,sha256=FYq3xhtaIdvy7mwCPzxaqNNGzfHEi0Q2JFQl51s6yNo,5475
10
10
  opentelemetry/instrumentation/openai/v1/__init__.py,sha256=wDO1rjgeZRNVXXA3IJUdqYVXRsvst7_JTtAjBK-m1Gc,7693
11
11
  opentelemetry/instrumentation/openai/v1/assistant_wrappers.py,sha256=4BDLcqOfwl0LFUdAjLE_PgRcWsQYKoCM_okWLCU8A9U,6277
12
12
  opentelemetry/instrumentation/openai/v1/event_handler_wrapper.py,sha256=SAzYoun2yyOloofyOWtxpm8E2M9TL3Nm8TgKdNyXHuY,2779
13
- opentelemetry/instrumentation/openai/version.py,sha256=ACu2Z3Q3TFgYpAno_eu9ssJ1QULjNXvjGvyqDSHrQ_o,23
14
- opentelemetry_instrumentation_openai-0.25.1.dist-info/METADATA,sha256=k9Wos9c9FrnzFQzDB0YGRoGO235q4F8HaZj7fg_An9k,2255
15
- opentelemetry_instrumentation_openai-0.25.1.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
16
- opentelemetry_instrumentation_openai-0.25.1.dist-info/entry_points.txt,sha256=vTBfiX5yXji5YHikuJHEOoBZ1TFdPQ1EI4ctd2pZSeE,93
17
- opentelemetry_instrumentation_openai-0.25.1.dist-info/RECORD,,
13
+ opentelemetry/instrumentation/openai/version.py,sha256=mXrC0wG0d9x4Qj0b-1a15tGJ6JHnWNOm82J2nX_CL2k,23
14
+ opentelemetry_instrumentation_openai-0.25.3.dist-info/METADATA,sha256=cuoWgtlVziwndEYOElz5eqCEQHPoIVbiqhEg93jsxWM,2255
15
+ opentelemetry_instrumentation_openai-0.25.3.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
16
+ opentelemetry_instrumentation_openai-0.25.3.dist-info/entry_points.txt,sha256=vTBfiX5yXji5YHikuJHEOoBZ1TFdPQ1EI4ctd2pZSeE,93
17
+ opentelemetry_instrumentation_openai-0.25.3.dist-info/RECORD,,