| 453 | } |
| 454 | |
| 455 | void 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 | |
| 465 | QString ClientInterface::getCurrentFileContext() const |
| 466 | { |
nothing calls this directly
no test coverage detected