Comment out the list of chat features until it is ready.

This commit is contained in:
Adam Treat 2023-04-09 20:23:52 -04:00
parent b8f8a37d87
commit 47d3fd1621
3 changed files with 27 additions and 27 deletions

View File

@ -740,7 +740,7 @@ void GPTJ::prompt(const std::string &prompt, std::function<bool(const std::strin
break;
}
#if 1
#if 0
// report timing
{
const int64_t t_main_end_us = ggml_time_us();

1
llm.h
View File

@ -36,7 +36,6 @@ private:
private:
GPTJ *m_gptj;
std::stringstream m_debug;
std::string m_response;
QThread m_llmThread;
std::atomic<bool> m_stopGenerating;

View File

@ -9,36 +9,37 @@ Window {
visible: true
title: qsTr("GPT4All Chat")
Rectangle {
id: conversationList
width: 300
anchors.left: parent.left
anchors.top: parent.top
anchors.bottom: parent.bottom
color: "#202123"
// Rectangle {
// id: conversationList
// width: 300
// anchors.left: parent.left
// anchors.top: parent.top
// anchors.bottom: parent.bottom
// color: "#202123"
Button {
id: newChat
text: qsTr("New chat")
anchors.top: parent.top
anchors.left: parent.left
anchors.right: parent.right
anchors.margins: 15
padding: 15
background: Rectangle {
opacity: .5
border.color: "#7d7d8e"
border.width: 1
radius: 10
color: "#343541"
}
}
}
// Button {
// id: newChat
// text: qsTr("New chat")
// anchors.top: parent.top
// anchors.left: parent.left
// anchors.right: parent.right
// anchors.margins: 15
// padding: 15
// background: Rectangle {
// opacity: .5
// border.color: "#7d7d8e"
// border.width: 1
// radius: 10
// color: "#343541"
// }
// }
// }
Rectangle {
id: conversation
color: "#343541"
anchors.left: conversationList.right
// anchors.left: conversationList.right
anchors.left: parent.left
anchors.right: parent.right
anchors.bottom: parent.bottom
anchors.top: parent.top