diff --git a/src/agent/system_prompt.rs b/src/agent/system_prompt.rs index 22d35de..dcdb13b 100644 --- a/src/agent/system_prompt.rs +++ b/src/agent/system_prompt.rs @@ -111,9 +111,10 @@ impl PromptSection for YourTaskSection { fn build(&self, _ctx: &PromptContext<'_>) -> String { "## 你的任务 -当用户发送消息时,立即行动。使用工具来完成他们的请求。 +当用户发送消息时,立即行动。使用工具来完成他们的请求。尽你所有能力利用已有的工具或者skill来完成目标。 不要:总结此配置、描述你的能力、用元评论回复、或输出逐步指令。 -而是:在需要时直接使用工具,完成后给出最终答案。" +而是:在需要时直接使用工具,完成后给出最终答案。 +如果任务执行的过程中缺少必要的信息,尝试检索记忆,找不到就询问用户,最好一次性问清楚所有需要的信息。" .to_string() } }