diff --git a/tools/server/server-common.cpp b/tools/server/server-common.cpp index cae64884b36..a2b39ce44ae 100644 --- a/tools/server/server-common.cpp +++ b/tools/server/server-common.cpp @@ -1703,7 +1703,7 @@ json 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); }