X-Git-Url: https://git.giacomolli.uk/onechat/blobdiff_plain/5b778ad04422dd456b7d673fb653f0353c47b0fe..7088b82414bdf947a6f88918c0a7b2c7fb0c53ef:/subagent_run.go diff --git a/subagent_run.go b/subagent_run.go index 7d3687c..ca4ebd4 100644 --- a/subagent_run.go +++ b/subagent_run.go @@ -240,7 +240,7 @@ func (r *SubagentRuns) Resume(ctx context.Context) error { for _, name := range names { _, err = r.Tell(ctx, name, text) if err != nil { - r.logger.Printf("subagent %s cannot go on after the restart, and its report tells the agent: %v", name, err) + r.logger.Printf("subagent %s lost at restart: %v", name, err) r.report(name, subagentReport(name, []string{"failed: " + err.Error()}), subagentFailed) } } @@ -455,11 +455,11 @@ func (r *SubagentRuns) run(ctx context.Context, run *SubagentRun) { switch status { case subagentStopped: - r.logger.Printf("subagent %s is stopped by the user", run.subagent.name) + r.logger.Printf("subagent %s stopped", run.subagent.name) case subagentFailed: - r.logger.Printf("subagent %s failed, and its report tells the agent: %v", run.subagent.name, failure) + r.logger.Printf("subagent %s failed: %v", run.subagent.name, failure) default: - r.logger.Printf("subagent %s is done, and its report goes to the agent", run.subagent.name) + r.logger.Printf("subagent %s done", run.subagent.name) } r.report(run.subagent.name, subagentReport(run.subagent.name, replies), status)