增加临界觉察agent
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user