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