We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f5d6967 commit 3520da9Copy full SHA for 3520da9
src/llama-chat.cpp
@@ -542,7 +542,7 @@ int32_t llm_chat_apply_template(
542
ss << "[|user|]" << trim(message->content) << "\n";
543
} else if (role == "assistant") {
544
ss << "[|assistant|]" << trim(message->content) << "[|endofturn|]\n";
545
- } else if (role == "assistant_tool_call") {
+ } else if (role == "tool") {
546
ss << "[|tool|]" << trim(message->content) << "[|endofturn|]\n";
547
}
548
0 commit comments