(taskId: string, setAppState: SetAppState)
| 320 | * when a single aggregate message is sent instead. |
| 321 | */ |
| 322 | export function markAgentsNotified(taskId: string, setAppState: SetAppState): void { |
| 323 | updateTaskState<LocalAgentTaskState>(taskId, setAppState, task => { |
| 324 | if (task.notified) { |
| 325 | return task; |
| 326 | } |
| 327 | return { |
| 328 | ...task, |
| 329 | notified: true |
| 330 | }; |
| 331 | }); |
| 332 | } |
| 333 | |
| 334 | /** |
| 335 | * Update progress for an agent task. |
no test coverage detected