Skip to content

Commit

Permalink
fix: model id
Browse files Browse the repository at this point in the history
  • Loading branch information
bojiang committed Oct 31, 2024
1 parent 589d8db commit 691a8f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/vllm-chat/service.py
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ def __init__(self) -> None:
args.disable_log_requests = True
args.max_log_len = 1000
args.response_role = "assistant"
args.served_model_name = self.model_id
args.served_model_name = [self.model_id]
if "chat_template" in PARAMETERS:
args.chat_template = os.path.join(CHAT_TEMPLATE_DIR, f'{PARAMETERS["chat_template"]}.jinja')
else:
Expand Down

0 comments on commit 691a8f1

Please sign in to comment.