fix(cron): propagate sessionKey to prevent duplicate tool responses

This commit is contained in:
afjcjsbx
2026-04-27 13:17:25 +02:00
parent f90e756e21
commit 0bb0fc429a
2 changed files with 6 additions and 1 deletions
+1 -1
View File
@@ -357,7 +357,7 @@ func (t *CronTool) ExecuteJob(ctx context.Context, job *cron.CronJob) string {
}
if response != "" {
t.executor.PublishResponseIfNeeded(ctx, channel, chatID, "", response)
t.executor.PublishResponseIfNeeded(ctx, channel, chatID, sessionKey, response)
}
return "ok"
}