MCPcopy Create free account
hub / github.com/MoonshotAI/kimi-code / finish

Method finish

packages/agent-core/src/loop/tool-scheduler.ts:83–87  ·  view source on GitHub ↗
(task: ScheduledToolCallTask<Result>)

Source from the content-addressed store, hash-verified

81 }
82
83 private finish(task: ScheduledToolCallTask<Result>): void {
84 const index = this.activeTasks.indexOf(task);
85 if (index >= 0) this.activeTasks.splice(index, 1);
86 this.startQueuedTasks();
87 }
88
89 private startQueuedTasks(): void {
90 const stillQueued: Array<ScheduledToolCallTask<Result>> = [];

Callers 1

startMethod · 0.95

Calls 1

startQueuedTasksMethod · 0.95

Tested by

no test coverage detected