1
0
Fork 0
mirror of https://gitlab.com/niansa/discord_llama.git synced 2025-03-06 20:48:25 +01:00

Initialize llm to nullptr

This commit is contained in:
niansa 2023-04-18 00:18:17 +02:00
parent c51522601d
commit 1d920a151a

View file

@ -69,7 +69,7 @@ class Bot {
ThreadPool tPool{1};
Timer last_message_timer;
std::shared_ptr<bool> stopping;
std::unique_ptr<LM::Inference> llm;
std::unique_ptr<LM::Inference> llm = nullptr;
std::unique_ptr<Translator> translator;
std::vector<dpp::snowflake> my_messages;
std::mutex llm_lock;