724e90759e175b96f44321c33f300906d579bcfe
Two fix branches independently added a Gate to internal/llm. One is priority between a voice turn and a background job, the other is admission control while the resident model is swapped. They are orthogonal and both are needed, so the swap one is now SwapGate, with SetSwapGate to install it. Complete takes the priority gate first and the drain second. A background request can wait a long time on priority, and counting it as in flight against the drain that whole time would stall a swap on a request that has not started. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01TrVSBKe3RFDF4fGYKWYQnX
Description
No description provided
Languages
Go
97.1%
HTML
0.9%
Shell
0.6%
CSS
0.5%
Makefile
0.3%
Other
0.6%