v10.0.4 — Torch #56
nunocoracao
announced in
Announcements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
[10.0.4] Torch
Patch release: a mode switch always takes effect — the GUI's chat auto-start can no longer steal the slot mid-switch.
Fixed
/wildfire(and any mode switch over a running chat) no longer fails with "timed out waiting for previous agent to stop".StartAgent's replace path kills the running agent, then waits for the slot to empty before spawning the requested one. The GUI and TUI poll agent status every ~2 s and auto-start chat the moment they seeisRunning=false— and that poll can land inside the kill→spawn gap. The opportunistic chat start passed the gate (nothing was running, no chain in flight), registered itself, and the user's switch then found "an agent" still present and bailed with the timeout message, leaving a fresh chat where wildfire had been asked for (the project log showsexited (mode: chat)immediately followed bystarted (chat mode)). The daemon now marks the replace window (Manager.replacing, the sibling of the v10 chain-transition mark) andrefuseChatStartrefuses chat while it is set, so the slot belongs to the switch; the GUI/TUI already treat that refusal as expected on their auto-start paths. The bail-out also says which case it hit — old process never left, or another client's non-chat start took the slot — instead of calling both a timeout.This discussion was created from the release v10.0.4 — Torch.
All reactions