增加临界觉察agent

This commit is contained in:
2026-04-08 19:16:40 +08:00
parent 7f3176efc7
commit bad715aa00
4 changed files with 57 additions and 3 deletions

View File

@@ -55,7 +55,7 @@ def generate_image_note(title: str, description: str) -> str:
# ============================================================
# 定义 Agent继承 HuiYuBaseAgent
# ============================================================
root_agent = HuiYuBaseAgent(
note_agent = HuiYuBaseAgent(
name="note_agent",
model=model,
description="一个多模态笔记助手,能够将图片、文字等内容转换为结构化的 Markdown 笔记。",
@@ -75,3 +75,5 @@ root_agent = HuiYuBaseAgent(
),
tools=[generate_text_note, generate_image_note],
)
root_agent = note_agent