diff --git a/pilot/fonts/SimHei.ttf b/pilot/fonts/SimHei.ttf deleted file mode 100644 index 0875c0871..000000000 Binary files a/pilot/fonts/SimHei.ttf and /dev/null differ diff --git a/pilot/scene/chat_dashboard/prompt.py b/pilot/scene/chat_dashboard/prompt.py index 077e294a2..2d1b31aaf 100644 --- a/pilot/scene/chat_dashboard/prompt.py +++ b/pilot/scene/chat_dashboard/prompt.py @@ -51,6 +51,6 @@ prompt = PromptTemplate( sep=PROMPT_SEP, is_stream_out=PROMPT_NEED_NEED_STREAM_OUT ), ) -CFG.prompt_templates.update({prompt.template_scene: prompt}) +CFG.prompt_template_registry.register(prompt, is_default=True)