(record *AgentTaskRecord, terminationReason string)
| 279 | } |
| 280 | |
| 281 | func (rt *AgentTaskRuntime) CompleteForegroundTask(record *AgentTaskRecord, terminationReason string) { |
| 282 | rt.setForegroundTaskTerminal(record, "completed", terminationReason) |
| 283 | } |
| 284 | |
| 285 | func (rt *AgentTaskRuntime) FailForegroundTask(record *AgentTaskRecord, terminationReason string) { |
| 286 | rt.setForegroundTaskTerminal(record, "failed", terminationReason) |