合并 agent-mvp 到 master #1

Merged
jiang merged 93 commits from agent-mvp into master 2026-08-18 17:56:43 +08:00
Showing only changes of commit 751950e5b5 - Show all commits
+2 -2
View File
@@ -474,11 +474,11 @@ async def fastapi_generate_service_area(
@router.get(
"/calculatevirtualdistrict/",
summary="计算虚拟分区",
description="根据指定的中心节点计算虚拟分区方案"
description="根据指定的压力监测节点作为中心节点计算虚拟分区方案"
)
async def fastapi_calculate_virtual_district(
network: str = Query(..., description="管网名称(或数据库名称)"),
centers: list[str] = Query(..., description="中心节点ID列表")
centers: list[str] = Query(..., description="压力监测节点ID列表")
) -> dict[str, list[Any]]:
"""计算虚拟分区。"""
return calculate_virtual_district(network, centers)