[bugfix] add profile for role.md

This commit is contained in:
pany-05 2025-11-04 14:46:21 +08:00
parent ca82165324
commit 74bf026d55
2 changed files with 2 additions and 0 deletions

View file

@ -192,6 +192,7 @@ def build_system_prompt(
# Step 6: 填充主模板 # Step 6: 填充主模板
template_vars = { template_vars = {
"profile": profile,
"system_context": system_context, "system_context": system_context,
"user_persona_prompt": user_persona_prompt, "user_persona_prompt": user_persona_prompt,
"language_specific_prompt": language_specific_prompt "language_specific_prompt": language_specific_prompt

View file

@ -1,3 +1,4 @@
{profile}
# System Context # System Context
{system_context} {system_context}