MCPcopy Index your code
hub / github.com/ChatLab/ChatLab / stopActiveTask

Function stopActiveTask

src/stores/aiChat.ts:1871–1874  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1869 }
1870
1871 async function stopActiveTask(): Promise<boolean> {
1872 if (!activeTask.value) return false
1873 return stopGeneration(activeTask.value.chatKey)
1874 }
1875
1876 return {
1877 sessionStates,

Callers

nothing calls this directly

Calls 1

stopGenerationFunction · 0.85

Tested by

no test coverage detected