From 769c79f618a10c49c41c87e8c1eccb5b2f84417d Mon Sep 17 00:00:00 2001 From: jxxghp Date: Sat, 17 Oct 2026 02:59:31 +0800 Subject: [PATCH] refactor(types): align agent with typed route contracts --- app/api/endpoints/agent.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/api/endpoints/agent.py b/app/api/endpoints/agent.py index f15e27d88..07bb9fb6e 100644 --- a/app/api/endpoints/agent.py +++ b/app/api/endpoints/agent.py @@ -338,7 +338,7 @@ async def list_web_agent_commands( ) -@router.post( # type: ignore[misc] +@router.post( "/commands/run", summary="执行 Agent 斜杠命令", response_model=_SchemaResponse[_SchemaAgentCommandRunData],