Derive turn event payloads from canonical result fields
This commit is contained in:
@@ -547,7 +547,7 @@ func (m *Manager) reviewTurnEnded(ctx context.Context, l *live, res endResult) e
|
||||
interrupted := l.interrupted
|
||||
m.mu.Unlock()
|
||||
|
||||
err := m.emit(ctx, l, agentActor, "turn.ended", res.payload)
|
||||
err := m.emit(ctx, l, agentActor, "turn.ended", res.payload())
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user