mirror of
https://github.com/nomic-ai/gpt4all.git
synced 2025-09-22 03:48:08 +00:00
Signed-off-by: Jared Van Bortel <jared@nomic.ai>
This commit is contained in:
@@ -238,8 +238,9 @@ void Chat::newPromptResponsePair(const QString &prompt)
|
||||
{
|
||||
resetResponseState();
|
||||
m_chatModel->updateCurrentResponse(m_chatModel->count() - 1, false);
|
||||
// the prompt is passed as the prompt item's value and the response item's prompt
|
||||
m_chatModel->appendPrompt("Prompt: ", prompt);
|
||||
m_chatModel->appendResponse("Response: ", QString());
|
||||
m_chatModel->appendResponse("Response: ", prompt);
|
||||
emit resetResponseRequested();
|
||||
}
|
||||
|
||||
@@ -248,8 +249,9 @@ void Chat::serverNewPromptResponsePair(const QString &prompt)
|
||||
{
|
||||
resetResponseState();
|
||||
m_chatModel->updateCurrentResponse(m_chatModel->count() - 1, false);
|
||||
// the prompt is passed as the prompt item's value and the response item's prompt
|
||||
m_chatModel->appendPrompt("Prompt: ", prompt);
|
||||
m_chatModel->appendResponse("Response: ", QString());
|
||||
m_chatModel->appendResponse("Response: ", prompt);
|
||||
}
|
||||
|
||||
bool Chat::restoringFromText() const
|
||||
|
Reference in New Issue
Block a user