agentscope-ai / agentscope-ai/AgentTeams

MatrixID 管理混乱,已删除的 Worker 仍会占用 ID || MatrixID management is confusing, and the deleted Worker will still occupy the ID

Abierto
#150 3 comentarios 0 reacciones 1 asignado Reclamado por @Sunrisea Ver en GitHub
area:matrix-element
Lenguaje dominante
Go
Estrellas
5.6k
Forks
692
Merge medio
5 d 4 h
PR fusionados (30 d)
23

Descripción

## 问题描述

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

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.