refactor: 拆分 agent 模块为 commands/agent/ 和 api/agent.py

This commit is contained in:
gitea committed 2026-04-06 00:14:16 +08:00
1 parent 3c4ad6256a
commit cd78261cae
7 files changed
+44 -12

No files matched your search

+12
View File
@@ -0,0 +1,12 @@
"""agent 子命令组"""
import typer
from ekb_cli.commands.agent.list import cmd_list
from ekb_cli.commands.agent.detail import cmd_detail
from ekb_cli.commands.agent.logs import cmd_logs
app = typer.Typer(help="智能审核 Agent 管理")
app.command("list")(cmd_list)
app.command("get")(cmd_detail)
app.command("logs")(cmd_logs)