MCPcopy Create free account
hub / github.com/GongShichen/LuminaCode / CompleteForegroundTask

Method CompleteForegroundTask

agent/task_runtime.go:281–283  ·  view source on GitHub ↗
(record *AgentTaskRecord, terminationReason string)

Source from the content-addressed store, hash-verified

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

Calls 1