Remove per-skill truncation — handled by executor now

This commit is contained in:
2026-04-07 20:53:51 +00:00
parent 3083b5d9d7
commit 9f624e9497
2 changed files with 0 additions and 4 deletions

View File

@@ -44,8 +44,6 @@ try:
text = raw
text = re.sub(r"\n{3,}", "\n\n", text).strip()
if len(text) > 3000:
text = text[:3000] + "\n[truncated]"
print(text or "[empty page]")
except Exception as e:
print(f"[fetch error: {e}]")

View File

@@ -18,8 +18,6 @@ try:
output += f"\n[stderr] {result.stderr}"
if result.returncode != 0:
output += f"\n[exit code: {result.returncode}]"
if len(output) > 2000:
output = output[:2000] + "\n[output truncated]"
print(output.strip() or "[no output]")
except subprocess.TimeoutExpired:
print("[command timed out after 120s]")