From cf5fff6388a9b0aa6cf00b6c193761309a1f91ee Mon Sep 17 00:00:00 2001 From: Matt Razza <504088+mrazza@users.noreply.github.com> Date: Sat, 24 Oct 2026 19:17:02 -0400 Subject: [PATCH] refactor: rename callback_context variable from cb to ctx in Session.zig execution loop --- src/agent/Session.zig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/agent/Session.zig b/src/agent/Session.zig index c9a067b..14d2ea4 100644 --- a/src/agent/Session.zig +++ b/src/agent/Session.zig @@ -154,14 +154,14 @@ fn executeTurnInternal(self: *Session, turn: types.Turn, callback_context: ?*Str } while (true) { - const step_outcome = if (callback_context) |cb| + const step_outcome = if (callback_context) |ctx| try self.provider.executeStepStreaming( allocator, self.session_config, next_steps.items, self.prev_continuation, streamingCallbackProxy, - cb, + ctx, ) else try self.provider.executeStep(