We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c1a34ce commit 5592b80Copy full SHA for 5592b80
api/core/vllm_engine.py
@@ -79,7 +79,7 @@ def apply_chat_template(
79
return self.tokenizer.build_chat_input(
80
query, history=messages[:-1], role=role
81
)["input_ids"][0].tolist()
82
- elif self.model_name.startswith("qwen") and ("qwen1.5" not in self.model_name) ("qwen2" not in self.model_name):
+ elif self.model_name.startswith("qwen") and ("qwen1.5" not in self.model_name) and ("qwen2" not in self.model_name):
83
return build_qwen_chat_input(
84
self.tokenizer,
85
messages,
0 commit comments