notification links
All checks were successful
/ upload (release) Successful in 35s

This commit is contained in:
pavel 2026-02-12 21:26:41 +01:00
commit 42a78c529d
5 changed files with 74 additions and 5 deletions

View file

@ -171,7 +171,13 @@ pub async fn execute_agent_run(
tokio::spawn(async move {
if let Err(e) = sender
.send_notification(&sub_data, &format!("Task Completed: {}", status), &goal)
.send_notification(
&sub_data,
&format!("Task Completed: {}", status),
&goal,
Some(task_id),
Some(run_id),
)
.await
{
tracing::error!("Failed to send notification in background task: {}", e);