refactor: Make connection more async (#182)

This commit is contained in:
Petr Mironychev
2025-05-01 15:35:33 +02:00
committed by GitHub
parent 4e05abc7d2
commit 25a6983de0
5 changed files with 96 additions and 28 deletions

View File

@ -57,6 +57,17 @@ LLMClientInterface::LLMClientInterface(
&LLMCore::RequestHandler::completionReceived,
this,
&LLMClientInterface::sendCompletionToClient);
// TODO handle error
// connect(
// &m_requestHandler,
// &LLMCore::RequestHandler::requestFinished,
// this,
// [this](const QString &, bool success, const QString &errorString) {
// if (!success) {
// emit error(errorString);
// }
// });
}
Utils::FilePath LLMClientInterface::serverDeviceTemplate() const