server : convert_anthropic_to_oai: also copy chat_template_kwargs (#22154)
This commit is contained in:
parent
c78fb909b2
commit
185cbff6f1
1 changed files with 1 additions and 1 deletions
|
|
@ -514,7 +514,7 @@ json server_chat_convert_anthropic_to_oai(const json & body) {
|
|||
}
|
||||
|
||||
// Pass through common params
|
||||
for (const auto & key : {"temperature", "top_p", "top_k", "stream"}) {
|
||||
for (const auto & key : {"temperature", "top_p", "top_k", "stream", "chat_template_kwargs"}) {
|
||||
if (body.contains(key)) {
|
||||
oai_body[key] = body.at(key);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue