refactor: 精简agent代码,移除冗余的main入口,添加API文档和note_agent

- root_agent/note_agent: 移除main()函数及不再需要的import(asyncio/Runner/SessionService/types)
- root_agent: 更新agent名称为huiyu_agent,优化instruction
- agents/__init__.py: 添加root_agent导出,供adk web/api_server注册
- 新增 API_DOC.md: 完整的API接口文档,供外部项目集成参考
- 新增 note_agent: 多模态笔记助手agent
This commit is contained in:
2026-04-07 22:15:14 +08:00
parent 7210ad9c53
commit f5e8de559e
6 changed files with 982 additions and 66 deletions

View File

@@ -3,3 +3,8 @@ Agent 模块
每个 Agent 是一个独立的子目录,包含 agent.py 和 __init__.py。
"""
# 导出所有 Agent供 adk web 服务注册
from .root_agent import agent as root_agent
__all__ = ["root_agent"]