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

Method handleLLMResponse

ChatView/ClientInterface.cpp:455–463  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

453}
454
455void ClientInterface::handleLLMResponse(const QString &response, const QJsonObject &request)
456{
457 const auto message = response.trimmed();
458
459 if (!message.isEmpty()) {
460 QString messageId = request["id"].toString();
461 m_chatModel->addMessage(message, ChatModel::ChatRole::Assistant, messageId);
462 }
463}
464
465QString ClientInterface::getCurrentFileContext() const
466{

Callers

nothing calls this directly

Calls 3

addMessageMethod · 0.80
isEmptyMethod · 0.45
toStringMethod · 0.45

Tested by

no test coverage detected