|
|
@@ -30,11 +30,11 @@ class KnowledgeConfig:
|
|
|
reflect_prompt: str = "" # 自定义反思 prompt;空则使用默认,见 agent/core/prompts/knowledge.py:REFLECT_PROMPT
|
|
|
|
|
|
# agent运行完成后提取(不代表任务完成,agent 可能中途退出等待人工评估)
|
|
|
- enable_completion_extraction: bool = True # 是否在运行完成后提取知识
|
|
|
+ enable_completion_extraction: bool = False # 是否在运行完成后提取知识
|
|
|
completion_reflect_prompt: str = "" # 自定义复盘 prompt;空则使用默认,见 agent/core/prompts/knowledge.py:COMPLETION_REFLECT_PROMPT
|
|
|
|
|
|
# 知识注入(agent切换当前工作的goal时,自动注入相关知识)
|
|
|
- enable_injection: bool = True # 是否在 focus goal 时自动注入相关知识
|
|
|
+ enable_injection: bool = False # 是否在 focus goal 时自动注入相关知识
|
|
|
|
|
|
# 默认字段(保存/搜索时自动注入)
|
|
|
owner: str = "" # 所有者(空则尝试从 git config user.email 获取,再空则用 agent:{agent_id})
|