You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
TypeError: '<' not supported between instances of 'NoneType' and 'int'
File "/home/martin/.poetry/envs/src-GLSgO57w-py3.10/lib/python3.10/site-packages/opentelemetry/instrumentation/openai/utils.py", line 124, in wrapper
return func(*args, **kwargs)
File "/home/martin/.poetry/envs/src-GLSgO57w-py3.10/lib/python3.10/site-packages/opentelemetry/instrumentation/openai/shared/embeddings_wrappers.py", line 171, in _handle_response
_set_embeddings_metrics(
File "/home/martin/.poetry/envs/src-GLSgO57w-py3.10/lib/python3.10/site-packages/opentelemetry/instrumentation/openai/shared/embeddings_wrappers.py", line 205, in _set_embeddings_metrics
token_counter.add(val, attributes=attributes_with_token_type)
File "/home/martin/.poetry/envs/src-GLSgO57w-py3.10/lib/python3.10/site-packages/opentelemetry/metrics/_internal/instrument.py", line 206, in add
self._real_instrument.add(amount, attributes)
File "/home/martin/.poetry/envs/src-GLSgO57w-py3.10/lib/python3.10/site-packages/opentelemetry/sdk/metrics/_internal/instrument.py", line 154, in add
if amount < 0:
The text was updated successfully, but these errors were encountered:
Sentry Issue: OPENLLMETRY-K
The text was updated successfully, but these errors were encountered: