Focus L2 agent and update V7.1 knowledge base
This commit is contained in:
@@ -8,10 +8,6 @@
|
||||
├── root_agent/ # 根智能体(小慧)
|
||||
│ ├── __init__.py
|
||||
│ └── agent.py # 定义 root_agent,包含子智能体引用
|
||||
├── note_agent/ # 笔记子智能体
|
||||
│ ├── __init__.py
|
||||
│ ├── agent.py # 定义 root_agent(ADK 要求导出名)
|
||||
│ └── note_formatter.py # Markdown 笔记格式化器
|
||||
├── critical_awareness_agent/ # 临界觉察助手
|
||||
│ ├── __init__.py
|
||||
│ └── agent.py # 三界觉察引导
|
||||
@@ -119,9 +115,6 @@ adk api_server . --auto_create_session
|
||||
root_agent(小慧)
|
||||
├── 通用对话:回答用户问题
|
||||
└── 子智能体委派:
|
||||
├── note_agent(笔记助手)
|
||||
│ ├── generate_text_note — 生成文本笔记
|
||||
│ └── generate_image_note — 生成图片笔记
|
||||
└── critical_awareness_agent(临界觉察助手)
|
||||
|
||||
独立 Agent(手动选择):
|
||||
@@ -134,7 +127,6 @@ root_agent(小慧)
|
||||
└── image_agent — 图片查询助手
|
||||
```
|
||||
|
||||
当用户请求涉及笔记生成、内容整理时,root_agent 会自动委派给 note_agent 处理。
|
||||
当用户出现心智散乱、情绪化或认知混淆时,root_agent 会委派给 critical_awareness_agent 处理。
|
||||
|
||||
## API 集成
|
||||
|
||||
Reference in New Issue
Block a user