Skip to content

graff — a fast agentic coding harness in Zig: multi-provider, MCP, workflows, DGM evolution loop, TS/Python SDKs

Python

test: decode ACP goal output as UTF-8

yxlyx15735b274994
diff --git a/scripts/test-acp-goal.py b/scripts/test-acp-goal.py
index 3bcc02c5..1fa61f69 100644
--- a/scripts/test-acp-goal.py
+++ b/scripts/test-acp-goal.py
@@ -57,7 +57,7 @@ def main() -> None:
proc = subprocess.Popen(
[binary, "--yolo", "--no-telemetry", "--model", "vercel", "--old", "--no-lean", "acp"],
cwd=temp, env=env, stdin=subprocess.PIPE, stdout=subprocess.PIPE,
- stderr=subprocess.PIPE, text=True,
+ stderr=subprocess.PIPE, text=True, encoding="utf-8",
)
responses = queue.Queue()