"vscode:/vscode.git/clone" did not exist on "aa84e43ccb540dfbbd723f5b315ef7eefd732641"
Unverified Commit a1074b3e authored by Yuan Tang's avatar Yuan Tang Committed by GitHub
Browse files

[Bugfix] Only print out chat template when supplied (#13444)

parent 00294e1b
......@@ -797,7 +797,9 @@ async def init_app_state(
state.log_stats = not args.disable_log_stats
resolved_chat_template = load_chat_template(args.chat_template)
logger.info("Using supplied chat template:\n%s", resolved_chat_template)
if resolved_chat_template is not None:
logger.info("Using supplied chat template:\n%s",
resolved_chat_template)
state.openai_serving_models = OpenAIServingModels(
engine_client=engine_client,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment