mirror of
https://github.com/nomic-ai/gpt4all.git
synced 2024-10-01 01:06:10 -04:00
Comment out the list of chat features until it is ready.
This commit is contained in:
parent
b8f8a37d87
commit
47d3fd1621
2
gptj.cpp
2
gptj.cpp
@ -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
1
llm.h
@ -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;
|
||||
|
51
main.qml
51
main.qml
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user