agentscope-ai / agentscope-ai/AgentTeams
MatrixID 管理混乱,已删除的 Worker 仍会占用 ID || MatrixID management is confusing, and the deleted Worker will still occupy the ID
- Vorherrschende Sprache
- Go
- Sterne
- 5.6k
- Forks
- 692
- Ø Merge
- 5 T. 4 Std.
- Gemergte PRs (30 T.)
- 23
Beschreibung
## 问题描述
AI 说这是 Matrix 的设计哲学,防止新创建的用户冒充旧用户。但问题在于,目前的 MatrixID 是基于 Worker 的名称生成的有含义的字符串,比如:
```
Worker名:小李
MatrixID:@XiaoLi:matrix-local.hiclaw.io:18080
```
如果小李离职以后再被招进来,MatrixID 只能变成
```
@XiaoLi2:matrix-local.hiclaw.io:18080
```
测试发现中文转拼音也有可能大小写不统一,有可能产生
```
@Xiaoli:matrix-local.hiclaw.io:18080
@xiaoli:matrix-local.hiclaw.io:18080
等
```
当然这也可能是小问题
## 建议:
采用随机生成的字符串作为 MatrixID
---
## Problem description
AI says this is Matrix's design philosophy to prevent newly created users from impersonating old users. But the problem is that the current MatrixID is a meaningful string generated based on the name of the Worker, such as:
```
Worker name: Xiao Li
MatrixID: @XiaoLi:matrix-local.hiclaw.io:18080
```
If Xiao Li is recruited again after leaving his job, the MatrixID can only become
```
@XiaoLi2:matrix-local.hiclaw.io:18080
```
Tests have found that the conversion of Chinese to Pinyin may not be consistent in uppercase and lowercase letters, which may result in
```
@Xiaoli:matrix-local.hiclaw.io:18080
@xiaoli:matrix-local.hiclaw.io:18080
Wait
```
Of course, this may be a small problem
## Suggestions:
Using a randomly generated string as MatrixID
Beitragsleitfaden
Für dieses Repository ist kein Beitragsleitfaden indexiert
Bewertung
Dieses Issue wurde noch nicht bewertet.