Skip to content

Commit cfc10f5

Browse files
committed
.
1 parent 72a1b49 commit cfc10f5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

backend/onyx/evals/tracing.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ def _truncate_str(s: str) -> str:
1818

1919
def _mask(data: Any) -> Any:
2020
"""Mask data if it exceeds the maximum length threshold."""
21-
if not len(str(data)) <= MASKING_LENGTH:
21+
if len(str(data)) <= MASKING_LENGTH:
2222
return data
2323
return _truncate_str(str(data))
2424

0 commit comments

Comments
 (0)