From 57b34d50caad2c481ec7eefe01a4703138c0a677 Mon Sep 17 00:00:00 2001 From: Jared Van Bortel Date: Fri, 13 Dec 2024 18:15:05 -0500 Subject: [PATCH] fix chatmodel.h #includes Signed-off-by: Jared Van Bortel --- gpt4all-chat/src/chatllm.h | 2 +- gpt4all-chat/src/server.cpp | 1 + gpt4all-chat/src/server.h | 1 - 3 files changed, 2 insertions(+), 2 deletions(-) diff --git a/gpt4all-chat/src/chatllm.h b/gpt4all-chat/src/chatllm.h index 57905286f302..1188de88b125 100644 --- a/gpt4all-chat/src/chatllm.h +++ b/gpt4all-chat/src/chatllm.h @@ -1,6 +1,7 @@ #ifndef CHATLLM_H #define CHATLLM_H +#include "chatmodel.h" #include "database.h" // IWYU pragma: keep #include "modellist.h" @@ -30,7 +31,6 @@ using namespace Qt::Literals::StringLiterals; class QDataStream; -struct ChatItem; // NOTE: values serialized to disk, do not change or reuse enum class LLModelTypeV0 { // chat versions 2-5 diff --git a/gpt4all-chat/src/server.cpp b/gpt4all-chat/src/server.cpp index 91e17de784d8..f9b7ae41ce94 100644 --- a/gpt4all-chat/src/server.cpp +++ b/gpt4all-chat/src/server.cpp @@ -1,6 +1,7 @@ #include "server.h" #include "chat.h" +#include "chatmodel.h" #include "modellist.h" #include "mysettings.h" #include "utils.h" diff --git a/gpt4all-chat/src/server.h b/gpt4all-chat/src/server.h index fce61e5c8097..092624e9ed61 100644 --- a/gpt4all-chat/src/server.h +++ b/gpt4all-chat/src/server.h @@ -2,7 +2,6 @@ #define SERVER_H #include "chatllm.h" -#include "chatmodel.h" #include "database.h" #include