Mark the lead's messages and answers as the lead's, not the human's
This commit is contained in:
@@ -267,6 +267,10 @@ func (m *Manager) recordQueued(ctx context.Context, l *live, msgs []queued) stri
|
||||
fmt.Fprintf(b, "While you were working, %s\n\nTake it into account now.", q.text)
|
||||
continue
|
||||
}
|
||||
if isLeadActor(q.actor) {
|
||||
fmt.Fprintf(b, "%s (not %s) sent you this message while you were working; take it into account now:\n\n%s", actorName(q.actor), leadOwner(q.actor), q.text)
|
||||
continue
|
||||
}
|
||||
fmt.Fprintf(b, "%s sent you this message while you were working; take it into account now:\n\n%s", q.actor, q.text)
|
||||
}
|
||||
slog.Info("queued messages sent mid-turn", "session", l.id, "count", len(msgs))
|
||||
|
||||
Reference in New Issue
Block a user