mirror of
https://github.com/nomic-ai/gpt4all.git
synced 2025-06-20 20:53:23 +00: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;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
#if 1
|
#if 0
|
||||||
// report timing
|
// report timing
|
||||||
{
|
{
|
||||||
const int64_t t_main_end_us = ggml_time_us();
|
const int64_t t_main_end_us = ggml_time_us();
|
||||||
|
1
llm.h
1
llm.h
@ -36,7 +36,6 @@ private:
|
|||||||
|
|
||||||
private:
|
private:
|
||||||
GPTJ *m_gptj;
|
GPTJ *m_gptj;
|
||||||
std::stringstream m_debug;
|
|
||||||
std::string m_response;
|
std::string m_response;
|
||||||
QThread m_llmThread;
|
QThread m_llmThread;
|
||||||
std::atomic<bool> m_stopGenerating;
|
std::atomic<bool> m_stopGenerating;
|
||||||
|
51
main.qml
51
main.qml
@ -9,36 +9,37 @@ Window {
|
|||||||
visible: true
|
visible: true
|
||||||
title: qsTr("GPT4All Chat")
|
title: qsTr("GPT4All Chat")
|
||||||
|
|
||||||
Rectangle {
|
// Rectangle {
|
||||||
id: conversationList
|
// id: conversationList
|
||||||
width: 300
|
// width: 300
|
||||||
anchors.left: parent.left
|
// anchors.left: parent.left
|
||||||
anchors.top: parent.top
|
// anchors.top: parent.top
|
||||||
anchors.bottom: parent.bottom
|
// anchors.bottom: parent.bottom
|
||||||
color: "#202123"
|
// color: "#202123"
|
||||||
|
|
||||||
Button {
|
// Button {
|
||||||
id: newChat
|
// id: newChat
|
||||||
text: qsTr("New chat")
|
// text: qsTr("New chat")
|
||||||
anchors.top: parent.top
|
// anchors.top: parent.top
|
||||||
anchors.left: parent.left
|
// anchors.left: parent.left
|
||||||
anchors.right: parent.right
|
// anchors.right: parent.right
|
||||||
anchors.margins: 15
|
// anchors.margins: 15
|
||||||
padding: 15
|
// padding: 15
|
||||||
background: Rectangle {
|
// background: Rectangle {
|
||||||
opacity: .5
|
// opacity: .5
|
||||||
border.color: "#7d7d8e"
|
// border.color: "#7d7d8e"
|
||||||
border.width: 1
|
// border.width: 1
|
||||||
radius: 10
|
// radius: 10
|
||||||
color: "#343541"
|
// color: "#343541"
|
||||||
}
|
// }
|
||||||
}
|
// }
|
||||||
}
|
// }
|
||||||
|
|
||||||
Rectangle {
|
Rectangle {
|
||||||
id: conversation
|
id: conversation
|
||||||
color: "#343541"
|
color: "#343541"
|
||||||
anchors.left: conversationList.right
|
// anchors.left: conversationList.right
|
||||||
|
anchors.left: parent.left
|
||||||
anchors.right: parent.right
|
anchors.right: parent.right
|
||||||
anchors.bottom: parent.bottom
|
anchors.bottom: parent.bottom
|
||||||
anchors.top: parent.top
|
anchors.top: parent.top
|
||||||
|
Loading…
Reference in New Issue
Block a user