78f2fe3b795a54c465f0c643067cf955479cfe98
A llama turn's interrupt set a flag that the streaming loop and the tool loop check, and nothing else. A tool call looks nowhere at all while it runs: llama-server runs a shell command to its own timeout, up to a minute, and the turn sat there for all of it with the phone showing a Pause that had done nothing. The wait is now a channel with two writers -- the call's own thread and the interrupt -- so whichever speaks first decides what the model is told. The call is left running on the machine and its answer dropped, since nothing in that protocol takes one back. The same release covers a permission question, so interrupt, detach and stop share one method.
Languages
Rust
53.8%
Kotlin
43.7%
Shell
2.5%