Skip to content

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

Python

style: fix set_agent indent after cache-hud hook

Cursor Agent34ffd53da515
diff --git a/src/mainloop.zig b/src/mainloop.zig
index f5d36644..182d62e6 100644
--- a/src/mainloop.zig
+++ b/src/mainloop.zig
@@ -216,7 +216,7 @@ pub fn run(ctx: *Ctx) !void {
const id = if (parsed.object.get("id")) |v| (if (v == .string) v.string else "") else "";
if (id.len == 0) {
@import("prompt_cache_hud.zig").noteBust(.persona);
- try prompts.setSystemPrompts(ctx.root, ctx.sys_normal, ctx.arena); // #326: reset to the startup base, all four variants
+ try prompts.setSystemPrompts(ctx.root, ctx.sys_normal, ctx.arena); // #326: reset to the startup base, all four variants
ctx.root.rebaseContextMeter();
ctx.root.emit(.{ .type = "agent", .ok = true, .id = id, .chars = ctx.root.sys_normal.len });
continue;