| 579 | } |
| 580 | |
| 581 | void 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 | |
| 595 | void ClientInterface::handleThinkingBlockReceived( |
| 596 | const QString &requestId, const QString &thinking, const QString &signature) |
nothing calls this directly
no outgoing calls
no test coverage detected