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

Method handleRequestFailed

ChatView/ClientInterface.cpp:581–593  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

579}
580
581void ClientInterface::handleRequestFailed(const QString &requestId, const QString &error)
582{
583 auto it = m_activeRequests.find(requestId);
584 if (it == m_activeRequests.end())
585 return;
586
587 LOG_MESSAGE(QString("Chat request %1 failed: %2").arg(requestId, error));
588 emit errorOccurred(error);
589
590 m_activeRequests.erase(it);
591 m_accumulatedResponses.remove(requestId);
592 m_awaitingContinuation.remove(requestId);
593}
594
595void ClientInterface::handleThinkingBlockReceived(
596 const QString &requestId, const QString &thinking, const QString &signature)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected