Skip to content

Commit

Permalink
support cline style messages for all backend engines
Browse files Browse the repository at this point in the history
  • Loading branch information
liunux4odoo committed Jan 15, 2025
1 parent d44765e commit 23c0fc8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions xinference/model/llm/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,7 @@ def get_full_context(
tokenize=False,
**kwargs,
):
messages = self.convert_messages_with_content_list_to_str_conversion(messages)
if tokenizer is not None:
try:
full_context = tokenizer.apply_chat_template(
Expand Down

0 comments on commit 23c0fc8

Please sign in to comment.