Skip to content
This repository was archived by the owner on Jul 4, 2025. It is now read-only.

Commit 7e34dbb

Browse files
committed
fix
1 parent 0760ac8 commit 7e34dbb

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

controllers/llamaCPP.cc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,8 @@ void llamaCPP::chatCompletion(
199199
if (!file) {
200200
LOG_ERROR << "Grammar file not found";
201201
} else {
202-
std::stringstream grammarBuf << file.rdbuf();
202+
std::stringstream grammarBuf;
203+
grammarBuf << file.rdbuf();
203204
data["grammar"] = grammarBuf.str();
204205
}
205206
if (!llama.multimodal) {

0 commit comments

Comments
 (0)