Include the human's message text in the lead's message signal

This commit is contained in:
Ian Gulliver
2026-10-20 11:47:04 -07:00
parent 0438c9d329
commit cb327fa15d
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -588,7 +588,7 @@ func (m *Manager) signalText(ctx context.Context, ev api.Event) (string, error)
return fmt.Sprintf("%s state: %v → %v.", m.taskLabel(ctx, deref(ev.TaskId)), ev.Payload["from"], ev.Payload["to"]), nil
case "user.message":
return fmt.Sprintf("%s sent %s a message; its agent is working on it.", ev.Actor, m.taskLabel(ctx, deref(ev.TaskId))), nil
return fmt.Sprintf("%s sent %s a message; its agent is working on it:\n%v", ev.Actor, m.taskLabel(ctx, deref(ev.TaskId)), ev.Payload["text"]), nil
case "turn.ended":
if ev.Payload["summary"] != true {