[Frontend] add continue_final_message parameter to /embeddings endpoint (#31497)

Signed-off-by: Kevin P-W <140451262+kevin-pw@users.noreply.github.com>
This commit is contained in:
Kevin
2025-12-30 07:21:13 +00:00
committed by GitHub
parent 3d973764ce
commit 51085c2aeb
2 changed files with 11 additions and 2 deletions
+1 -1
View File
@@ -89,7 +89,7 @@ class EmbeddingMixin(OpenAIServing):
chat_template=ctx.request.chat_template or ctx.chat_template,
chat_template_content_format=ctx.chat_template_content_format,
add_generation_prompt=ctx.request.add_generation_prompt,
continue_final_message=False,
continue_final_message=ctx.request.continue_final_message,
add_special_tokens=ctx.request.add_special_tokens,
)
else: