triage#171 Sometimes conversation.log remains empty

master
Andrey Kleshchev 2024-04-11 00:34:54 +03:00 committed by Andrey Kleshchev
parent f4c41ec5c0
commit 4f2f328f70
2 changed files with 3 additions and 1 deletions

View File

@ -329,7 +329,7 @@
<key>KeepConversationLogTranscripts</key>
<map>
<key>Comment</key>
<string>Keep a conversation log and transcripts</string>
<string>Keep a conversation log and transcripts 2 - both, 1 - logs, 0 - none</string>
<key>Persist</key>
<integer>1</integer>
<key>Type</key>

View File

@ -1572,6 +1572,8 @@ bool LLIMModel::logToFile(const std::string& file_name, const std::string& from,
}
else
{
// will check KeepConversationLogTranscripts on its own
LLConversationLog::instance().cache();
return false;
}
}