This commit is contained in:
parent
779500d22e
commit
42a78c529d
5 changed files with 74 additions and 5 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue