diff --git a/docutranslate/agents/glossary_agent.py b/docutranslate/agents/glossary_agent.py index f89890c..a5c3fa1 100644 --- a/docutranslate/agents/glossary_agent.py +++ b/docutranslate/agents/glossary_agent.py @@ -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' diff --git a/docutranslate/static/index.html b/docutranslate/static/index.html index 3aa1c38..c7eb760 100644 --- a/docutranslate/static/index.html +++ b/docutranslate/static/index.html @@ -1 +1 @@ -
当前没有任务,点击“新建任务”开始吧!
等待提交...
点击或拖拽文件到此处
当前没有任务,点击“新建任务”开始吧!
等待提交...
点击或拖拽文件到此处