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:
8
agents/note_agent/__init__.py
Normal file
8
agents/note_agent/__init__.py
Normal file
@@ -0,0 +1,8 @@
|
||||
import sys
|
||||
from pathlib import Path
|
||||
|
||||
sys.path.insert(0, str(Path(__file__).parent.parent.parent))
|
||||
|
||||
from . import agent
|
||||
|
||||
__all__ = ["agent"]
|
||||
Reference in New Issue
Block a user