Files
server-core/app
Pine b90ee8aabc fix(agents): AgentRepository 空串 port 不再被拦截,修复服务端查不到/删不掉智能体
require_port 单角色后恒定 port='',但 AgentRepository 用 if not port 把空串当无 port 直接返回空/None,导致 GET /agents 永远为空、GET/DELETE 404 'Agent not found';本地删除依赖服务端先删身份,被 404 卡死后本地也无法删除。改为 if port is None 后空串正常参与查询。
2026-09-04 17:49:00 +08:00
..