Revert "gui: never auto-restart statewait/chat streams on finish"

This reverts commit 608127e4ac.
This commit is contained in:
Levi Neely 2026-08-01 20:59:08 +02:00
parent 9f51a2181b
commit 56b08d8f8f
1 changed files with 6 additions and 9 deletions

View File

@ -518,19 +518,16 @@ void Ollie9pClient::onStateReadyRead()
void Ollie9pClient::onChatFinished(int, QProcess::ExitStatus)
{
m_chatProc->deleteLater();
m_chatProc = nullptr;
emit streamingDone();
// Do NOT restart — chat stream is only started when the user
// explicitly selects an agent.
m_chatProc->deleteLater();
m_chatProc = nullptr;
emit streamingDone();
}
void Ollie9pClient::onStateFinished(int, QProcess::ExitStatus)
{
m_stateProc->deleteLater();
m_stateProc = nullptr;
// Do NOT restart — statewait is only started when the user
// explicitly selects an agent via setActiveSessionId or switchAgent.
m_stateProc->deleteLater();
m_stateProc = nullptr;
startStateStream();
}
void Ollie9pClient::startEventStream()