Remove per-skill truncation — handled by executor now
This commit is contained in:
@@ -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}]")
|
||||
|
||||
@@ -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]")
|
||||
|
||||
Reference in New Issue
Block a user