feat(plan): 添加中文响应要求并本地化操作提示

- 在多个规划引擎文件中添加中文响应的语言要求说明
- 将操作相关的提示文本从英文翻译为中文
- 确保代理协作中的所有解释和推理使用中文输出
- 保持代理名称等标识符的原始格式不变
This commit is contained in:
zhaoweijie
2026-01-13 09:49:47 +08:00
parent 59fd94e783
commit e0cc11647f
10 changed files with 28 additions and 12 deletions

View File

@@ -5,10 +5,12 @@ PROMPT_TEMPLATE_TAKE_ACTION_BASE = '''
Your name is {agentName}. You will play the role as the Profile indicates.
Profile: {agentProfile}
You are within a multi-agent collaboration for the "Current Task".
Now it's your turn to take action. Read the "Context Information" and take your action following "Instruction for Your Current Action".
You are within a multi-agent collaboration for the "Current Task".
Now it's your turn to take action. Read the "Context Information" and take your action following "Instruction for Your Current Action".
Note: Important Input for your action are marked with *Important Input*
**IMPORTANT LANGUAGE REQUIREMENT: You must respond in Chinese (中文) for all your answers and outputs.**
## Context Information
### General Goal (The "Current Task" is indeed a substep of the general goal)
@@ -23,8 +25,8 @@ Note: Important Input for your action are marked with *Important Input*
### History Action
{History_Action}
## Instruction for Your Current Action
{Action_Description}
## Instruction for Your Current Action
{Action_Description}
{Action_Custom_Note}