()
| 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, |
nothing calls this directly
no test coverage detected