| 301 | } |
| 302 | |
| 303 | void ChatManager::slotSendSyncRequest(const QJsonObject &obj) |
| 304 | { |
| 305 | if (chatLLM) |
| 306 | chatLLM->request(obj); |
| 307 | else |
| 308 | emit notify(2, tr("No selected LLM or current LLM is not avaliable")); |
| 309 | } |
| 310 | |
| 311 | void ChatManager::onResponse(const QString &msgID, const QString &data, AbstractLLM::ResponseState state) |
| 312 | { |