fix: golines >120 char EventMeta in loop_run.go

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
dj-oyu 2026-03-25 23:19:01 +09:00
parent d33c064b54
commit 212f527ba4

View file

@ -1193,7 +1193,12 @@ func (al *AgentLoop) executeToolCalls(
}
}
toolMeta := EventMeta{AgentID: agent.ID, TurnID: scope.turnID, SessionKey: opts.SessionKey, Iteration: iteration}
toolMeta := EventMeta{
AgentID: agent.ID,
TurnID: scope.turnID,
SessionKey: opts.SessionKey,
Iteration: iteration,
}
// Hook: BeforeTool — let hooks inspect/modify the tool call
toolArgs := tc.Arguments