Skip to content

Commit 3520da9

Browse files
lgai-exaoneCISC
andauthored
Update src/llama-chat.cpp
Co-authored-by: Sigbjørn Skjæret <[email protected]>
1 parent f5d6967 commit 3520da9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/llama-chat.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -542,7 +542,7 @@ int32_t llm_chat_apply_template(
542542
ss << "[|user|]" << trim(message->content) << "\n";
543543
} else if (role == "assistant") {
544544
ss << "[|assistant|]" << trim(message->content) << "[|endofturn|]\n";
545-
} else if (role == "assistant_tool_call") {
545+
} else if (role == "tool") {
546546
ss << "[|tool|]" << trim(message->content) << "[|endofturn|]\n";
547547
}
548548
}

0 commit comments

Comments
 (0)