MCPcopy Create free account
hub / github.com/Palm1r/QodeAssist / cancelCompression

Method cancelCompression

ChatView/ChatCompressor.cpp:91–103  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

89}
90
91void ChatCompressor::cancelCompression()
92{
93 if (!m_isCompressing)
94 return;
95
96 LOG_MESSAGE("Cancelling compression request");
97
98 if (m_provider && !m_currentRequestId.isEmpty())
99 m_provider->cancelRequest(m_currentRequestId);
100
101 cleanupState();
102 emit compressionFailed(tr("Compression cancelled"));
103}
104
105void ChatCompressor::onPartialResponseReceived(const QString &requestId, const QString &partialText)
106{

Callers

nothing calls this directly

Calls 2

isEmptyMethod · 0.45
cancelRequestMethod · 0.45

Tested by

no test coverage detected