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

オープン
#96 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

@MuhammadFaizan-prog がすでに取り組んでいます。

2026年12月3日 から。

  • #97 @MuhammadFaizan-prog による — オープン

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
30/100
issue の種類
バグ
明瞭さ
明確に書かれている
活発さ
停滞
技術スタック
typescript
領域
backend

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

説明

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.

主要言語
TypeScript
スター
7
フォーク
22
PR マージ指標
30日以内にマージされた PR はありません

環境構築

  • Dockerfile・Docker Compose ファイルなし
  • プルリクエストのテンプレートあり
  • コントリビューションガイドなし

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

RocketChat/Apps.QuickReplies のほかの issue

RocketChat/Apps.QuickReplies の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。