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

Method FailForegroundTask

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

Source from the content-addressed store, hash-verified

283}
284
285func (rt *AgentTaskRuntime) FailForegroundTask(record *AgentTaskRecord, terminationReason string) {
286 rt.setForegroundTaskTerminal(record, "failed", terminationReason)
287}
288
289func (rt *AgentTaskRuntime) DiscardForegroundTask(taskID string) {
290 rt.mu.Lock()

Callers 1

ExecuteMethod · 0.80

Calls 1

Tested by

no test coverage detected