修复glossary_prompt

This commit is contained in:
xunbu
2025-10-04 12:07:09 +08:00
parent b57f3749bd
commit 2e7804c910
2 changed files with 2 additions and 1 deletions

View File

@@ -50,6 +50,7 @@ The output format should be plain JSON text in a list format
## Output
{r'[{"src": "Jobs", "dst": "乔布斯"}, {"src": "Bill Gates", "dst": "比尔盖茨"}, {"src": "Shanghai", "dst": "上海"}]'}
"""
self.custom_prompt = config.custom_prompt
if config.custom_prompt:
self.system_prompt += "\n# **Important rules or background** \n" + self.custom_prompt + '\nEND\n'

File diff suppressed because one or more lines are too long