[Anthropic][Frontend] Added chat_template_kwargs to /v1/messages (#40125)
Signed-off-by: Aleksandar Yanakiev <alexander.yanakiev@discretestack.com> Co-authored-by: Aleksandar Yanakiev <alexander.yanakiev@discretestack.com>
This commit is contained in:
co-authored by
Aleksandar Yanakiev
parent
e06de7f005
commit
b82fc1364d
@@ -323,6 +323,7 @@ class AnthropicServingMessages(OpenAIServingChat):
|
||||
return ChatCompletionRequest(
|
||||
model=anthropic_request.model,
|
||||
messages=openai_messages,
|
||||
chat_template_kwargs=anthropic_request.chat_template_kwargs,
|
||||
)
|
||||
|
||||
return ChatCompletionRequest(
|
||||
@@ -335,6 +336,7 @@ class AnthropicServingMessages(OpenAIServingChat):
|
||||
top_p=anthropic_request.top_p,
|
||||
top_k=anthropic_request.top_k,
|
||||
kv_transfer_params=anthropic_request.kv_transfer_params,
|
||||
chat_template_kwargs=anthropic_request.chat_template_kwargs,
|
||||
)
|
||||
|
||||
@classmethod
|
||||
|
||||
Reference in New Issue
Block a user