增加临界觉察agent
This commit is contained in:
@@ -2,7 +2,8 @@ import os
|
||||
|
||||
from agent_base.agent_base import HuiYuBaseAgent
|
||||
from google.adk.models.lite_llm import LiteLlm
|
||||
from note_agent.agent import root_agent as note_agent
|
||||
from critical_awareness_agent.agent import critical_awareness_agent
|
||||
from note_agent.agent import note_agent
|
||||
|
||||
# ============================================================
|
||||
# MiniMax 模型配置(从 .env 文件读取)
|
||||
@@ -31,6 +32,8 @@ root_agent = HuiYuBaseAgent(
|
||||
"你是一个乐于助人的中文 AI 助手,你的名字叫小慧,请用中文回答用户的问题,回答要准确、简洁、友好。\n\n"
|
||||
"你有一个子助手「笔记助手」(note_agent),当用户需要生成笔记、整理内容、做总结时,"
|
||||
"请将任务委派给 note_agent 处理。"
|
||||
"你还有一个子助手「临界觉察助手」(critical_awareness_agent),当用户出现心智散乱、情绪化或认知混淆时,"
|
||||
"请将任务委派给 critical_awareness_agent 处理。"
|
||||
),
|
||||
sub_agents=[note_agent],
|
||||
sub_agents=[note_agent, critical_awareness_agent], # 将 note_agent 和 critical_awareness_agent 作为子 Agent
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user