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],