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