[Bug] AI auto-suggest accepts non-text and blank suggestions

Abierto
#96 0 comentarios 0 reacciones 0 asignados Ver en GitHub

@MuhammadFaizan-prog ya está trabajando en esto.

Desde el 3/12/2026.

  • #97 de @MuhammadFaizan-prog — abierto

Evaluación

Dificultad
2/5
Tiempo estimado
1-3 horas
Aptitud para principiantes
30/100
Tipo de issue
Error
Claridad
Bien especificado
Estado de actividad
Estancado
Stack tecnológico
typescript
Área
backend

Línea de trabajo

The issue names the real message handler and stubbed provider responses, but gives no file or test path. Start by locating the auto-suggest handler and its tests, then reproduce with mixed and unusable arrays. Done means only usable strings fill the three slots, and no notification is sent when none remain.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

What happened?

The auto-suggest handler accepts every entry in a JSON array from the AI provider. It can pass nulls, numbers, and blank strings to the notification builder as reply text, and invalid entries can take the three available suggestion slots.

Verification

Reproduced on main at fa72dc4 with the real message handler and stubbed provider responses. A mixed array should keep the first three usable strings. An array without usable strings should skip the notification.

Lenguaje dominante
TypeScript
Estrellas
7
Forks
22
Métricas de merge de PR
Sin PR fusionados en 30 d

Preparar el entorno

  • Sin Dockerfile ni archivo de Docker Compose
  • Tiene una plantilla de pull request
  • Sin guía de contribución

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de RocketChat/Apps.QuickReplies

Todos los issues de RocketChat/Apps.QuickReplies

Issues similares

Más issues de TypeScript

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.