mirror of
https://github.com/usestrix/strix.git
synced 2026-09-06 08:15:56 +00:00
chore: increase truncation limit to 8000 chars
This commit is contained in:
parent
ea1bb0b0ed
commit
64236facc3
1 changed files with 2 additions and 2 deletions
|
|
@ -91,8 +91,8 @@ def _prepare_report_for_comparison(report: dict[str, Any]) -> dict[str, Any]:
|
|||
for field in relevant_fields:
|
||||
if report.get(field):
|
||||
value = report[field]
|
||||
if isinstance(value, str) and len(value) > 2000:
|
||||
value = value[:2000] + "...[truncated]"
|
||||
if isinstance(value, str) and len(value) > 8000:
|
||||
value = value[:8000] + "...[truncated]"
|
||||
cleaned[field] = value
|
||||
|
||||
return cleaned
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue