MCPcopy Create free account
hub / github.com/astercloud/aster / Cancel

Method Cancel

pkg/agent/agent.go:1363–1365  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1361 return errors.New("resume not supported for long-running task")
1362}
1363func (l *longRunningInterruptible) Cancel() error {
1364 return l.tool.Cancel(context.Background(), l.taskID)
1365}
1366
1367// ControlTool 执行对运行中工具的控制
1368func (a *Agent) ControlTool(callID, action, note string) error {

Callers

nothing calls this directly

Calls 1

CancelMethod · 0.65

Tested by

no test coverage detected