# Bug: 关系页面无法看到其他数字员工 - 无法配置关系 ## Summary 创建的智能体在关系页面中,无法看到其他数字员工,导致无法配置关系。 ## Pre-checks - [x] I have searched existing issues and this is not a duplicate of #363 (that issue was about showing OTHER company's agents, this issue is about NOT seeing ANY agents) ## Deployment Method Docker (需要用户确认) ## Steps to Reproduce 1. 创建一个智能体 2. 进入关系页面 3. 尝试配置其他数字员工 4. **问题**:看不到任何其他数字员工,列表为空 ## Expected vs Actual Behavior **Expected**: 应该能看到本公司租户下的所有数字员工,可以配置关系 **Actual**: 列表为空,看不到任何数字员工 ## Possible Causes 1. **租户过滤过严**: 修复 #363(租户隔离)时可能引入了新的 bug,导致过滤条件太严格 2. **API 查询问题**: 获取 Agent 列表的 API 可能没有正确查询当前租户的数据 3. **权限问题**: 用户可能没有查看其他 Agent 的权限 ## Technical Analysis 参考之前 #363 的修复,可能是以下代码有问题: ```python # 可能的错误代码示例 # 过度过滤导致查不到数据 agents = Agent.query.filter( Agent.tenant_id == current_tenant_id, Agent.status == 'active', # 可能还有其他过严的过滤条件 ) ``` ## Environment - Clawith 版本:需要用户确认 - 部署方式:需要用户确认 - 浏览器:需要用户确认 ## Labels bug, relationship, tenant-isolation, regression
Bug: 关系页面无法看到其他数字员工 - 无法配置关系
Summary
创建的智能体在关系页面中,无法看到其他数字员工,导致无法配置关系。
Pre-checks
Deployment Method
Docker (需要用户确认)
Steps to Reproduce
Expected vs Actual Behavior
Expected: 应该能看到本公司租户下的所有数字员工,可以配置关系
Actual: 列表为空,看不到任何数字员工
Possible Causes
Technical Analysis
参考之前 #363 的修复,可能是以下代码有问题:
Environment
Labels
bug, relationship, tenant-isolation, regression