Skip to content

Commit e26a39f

Browse files
committed
.
1 parent d60cea0 commit e26a39f

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
@@ -8,7 +8,7 @@
88
from onyx.configs.app_configs import BRAINTRUST_PROJECT
99

1010

11-
def _truncate_str(s: str, head=800, tail=200) -> str:
11+
def _truncate_str(s: str, head: int = 800, tail: int = 200) -> str:
1212
if len(s) <= head + tail:
1313
return s
1414
return f"{s[:head]}{s[-tail:]}[TRUNCATED {len(s)} chars to 10,000]"

0 commit comments

Comments
 (0)