| 281 | } |
| 282 | |
| 283 | void ChatCompressor::cleanupState() |
| 284 | { |
| 285 | disconnectAllSignals(); |
| 286 | |
| 287 | m_isCompressing = false; |
| 288 | m_currentRequestId.clear(); |
| 289 | m_originalChatPath.clear(); |
| 290 | m_accumulatedSummary.clear(); |
| 291 | m_chatModel = nullptr; |
| 292 | m_provider = nullptr; |
| 293 | } |
| 294 | |
| 295 | } // namespace QodeAssist::Chat |