Skip to content

armgit / strix

Public Imported from GitHub
0

Open-source AI penetration testing tool to find and fix your app’s vulnerabilities.

chore: increase truncation limit to 8000 chars

0xallam17ee6e6e6f2a
diff --git a/strix/llm/dedupe.py b/strix/llm/dedupe.py
index 3e74137d..99d35053 100644
--- a/strix/llm/dedupe.py
+++ b/strix/llm/dedupe.py
@@ -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