mirror of
https://github.com/nomic-ai/gpt4all.git
synced 2025-06-23 14:07:58 +00:00
Send info on how many are running into this error.
This commit is contained in:
parent
6d943917f1
commit
c054efa6ac
5
main.qml
5
main.qml
@ -25,9 +25,10 @@ Window {
|
|||||||
|
|
||||||
// Startup code
|
// Startup code
|
||||||
Component.onCompleted: {
|
Component.onCompleted: {
|
||||||
if (!LLM.compatHardware)
|
if (!LLM.compatHardware) {
|
||||||
|
Network.sendNonCompatHardware();
|
||||||
errorCompatHardware.open();
|
errorCompatHardware.open();
|
||||||
else
|
} else
|
||||||
startupDialogs();
|
startupDialogs();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -358,6 +358,13 @@ void Network::sendRecalculatingContext(int conversationLength)
|
|||||||
sendMixpanelEvent("recalc_context", QVector<KeyValue>{kv});
|
sendMixpanelEvent("recalc_context", QVector<KeyValue>{kv});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void Network::sendNonCompatHardware()
|
||||||
|
{
|
||||||
|
if (!m_usageStatsActive)
|
||||||
|
return;
|
||||||
|
sendMixpanelEvent("noncompat_hardware");
|
||||||
|
}
|
||||||
|
|
||||||
void Network::sendMixpanelEvent(const QString &ev, const QVector<KeyValue> &values)
|
void Network::sendMixpanelEvent(const QString &ev, const QVector<KeyValue> &values)
|
||||||
{
|
{
|
||||||
if (!m_usageStatsActive)
|
if (!m_usageStatsActive)
|
||||||
|
@ -51,6 +51,7 @@ public Q_SLOTS:
|
|||||||
Q_INVOKABLE void sendNewChat(int count);
|
Q_INVOKABLE void sendNewChat(int count);
|
||||||
Q_INVOKABLE void sendRemoveChat();
|
Q_INVOKABLE void sendRemoveChat();
|
||||||
Q_INVOKABLE void sendRenameChat();
|
Q_INVOKABLE void sendRenameChat();
|
||||||
|
Q_INVOKABLE void sendNonCompatHardware();
|
||||||
void sendChatStarted();
|
void sendChatStarted();
|
||||||
void sendRecalculatingContext(int conversationLength);
|
void sendRecalculatingContext(int conversationLength);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user