From 9f624e9497edad7240bf9bf470d2184817e768f9 Mon Sep 17 00:00:00 2001 From: ansible Date: Tue, 7 Apr 2026 20:53:51 +0000 Subject: [PATCH] =?UTF-8?q?Remove=20per-skill=20truncation=20=E2=80=94=20h?= =?UTF-8?q?andled=20by=20executor=20now?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- skills/fetch_url/run.py | 2 -- skills/run_command/run.py | 2 -- 2 files changed, 4 deletions(-) diff --git a/skills/fetch_url/run.py b/skills/fetch_url/run.py index 4cd944e..5513163 100644 --- a/skills/fetch_url/run.py +++ b/skills/fetch_url/run.py @@ -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}]") diff --git a/skills/run_command/run.py b/skills/run_command/run.py index 0adb405..68cebeb 100644 --- a/skills/run_command/run.py +++ b/skills/run_command/run.py @@ -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]")