Skip to content

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

Python

Merge branch 'feat/rlm-call-only-grammar' into release/v0.0.302.11

justrachd7169b2b8799
diff --cc src/agent_request.zig
index b3d360a2,95df23b4..769ea2db
--- a/src/agent_request.zig
+++ b/src/agent_request.zig
@@@ -416,8 -403,8 +416,9 @@@ pub fn request(self: *Agent, tools_in:
.ok => |obj| {
if (!self.compaction_request) self.compact_transport_failures = 0;
usage_attempts.completed();
+ @import("agent_ws_steer.zig").billEnded(self, obj); // the responses a steer ended, before the last
self.recordUsageResponses(obj, body.len);
+ @import("usage_trace.zig").noteReasoning(obj);
try @import("agent_async_tools.zig").join(self);
// #414: an empty output whose usage already fills the window
// is an overflow the provider never reported. Re-anchor like