Skip to content

Commit 7f6d894

Browse files
committed
fix attr
1 parent 3c7b7f9 commit 7f6d894

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎sentry_sdk/ai/monitoring.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ def record_token_usage(
2424

2525
if input_tokens_cached is not None:
2626
span.set_attribute(
27-
SPANDATA.GEN_AI_USAGE_INPUT_TOKENS_CACHED, input_tokens_cached
27+
SPANDATA.GEN_AI_USAGE_CACHE_READ_INPUT_TOKENS, input_tokens_cached
2828
)
2929

3030
if input_tokens_cache_write is not None:

0 commit comments

Comments
 (0)