We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 72a1b49 commit cfc10f5Copy full SHA for cfc10f5
backend/onyx/evals/tracing.py
@@ -18,7 +18,7 @@ def _truncate_str(s: str) -> str:
18
19
def _mask(data: Any) -> Any:
20
"""Mask data if it exceeds the maximum length threshold."""
21
- if not len(str(data)) <= MASKING_LENGTH:
+ if len(str(data)) <= MASKING_LENGTH:
22
return data
23
return _truncate_str(str(data))
24
0 commit comments