Skip to content

Commit bba4f5e

Browse files
committed
Set default tokens for the ThinkingSectionParser
They were initialized from the server properties, which never happened without a server setup. Fixes: #11
1 parent 68868bb commit bba4f5e

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

llamathinkingsectionparser.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
#include "llamatypes.h"
44

55
namespace LlamaCpp {
6-
QString ThinkingSectionParser::m_startToken;
7-
QString ThinkingSectionParser::m_endToken;
6+
QString ThinkingSectionParser::m_startToken = "<think>";
7+
QString ThinkingSectionParser::m_endToken = "</think>";
88

99
void ThinkingSectionParser::setTokensFromServerProps(const LlamaCppServerProps &serverProps)
1010
{

0 commit comments

Comments
 (0)