From 65abaa19e5243e99a4c6476a25a756a8ff15c87c Mon Sep 17 00:00:00 2001 From: Adam Treat Date: Thu, 20 Apr 2023 13:27:11 -0400 Subject: [PATCH] Fix warning and update llama.cpp submodule to latest. --- llama.cpp | 2 +- main.qml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/llama.cpp b/llama.cpp index 2f7c8e01..6a9661ea 160000 --- a/llama.cpp +++ b/llama.cpp @@ -1 +1 @@ -Subproject commit 2f7c8e014e3c0ceaf39688845c2ff6f919fb03b7 +Subproject commit 6a9661ea5ad72166b700ae5e87976e4452499dda diff --git a/main.qml b/main.qml index ab9d2515..7f8cbacb 100644 --- a/main.qml +++ b/main.qml @@ -929,7 +929,7 @@ Window { Accessible.role: Accessible.EditableText Accessible.name: placeholderText Accessible.description: qsTr("Textfield for sending messages/prompts to the model") - Keys.onReturnPressed: { + Keys.onReturnPressed: (event)=> { if (event.modifiers & Qt.ControlModifier || event.modifiers & Qt.ShiftModifier) event.accepted = false; else