mirror of
https://github.com/xinnan-tech/xiaozhi-esp32-server.git
synced 2026-11-28 04:59:52 +01:00
[bugfix] add profile for role.md
This commit is contained in:
parent
ca82165324
commit
74bf026d55
2 changed files with 2 additions and 0 deletions
|
|
@ -192,6 +192,7 @@ def build_system_prompt(
|
|||
|
||||
# Step 6: 填充主模板
|
||||
template_vars = {
|
||||
"profile": profile,
|
||||
"system_context": system_context,
|
||||
"user_persona_prompt": user_persona_prompt,
|
||||
"language_specific_prompt": language_specific_prompt
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
{profile}
|
||||
# System Context
|
||||
{system_context}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue