[Bug]: /quick ai error messages are not role-aware and lack actionable guidance
还没有人认领这个 Issue。
- #69 来自 @sezallagwal —— 已关闭,未合并
评估
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 新手友好度
- 45/100
- Issue 类型
- 缺陷
- 描述清晰度
- 基本清楚
- 活跃度
- 停滞
- 技术栈
- typescript
- 领域
- backend
调研方向
首先,在没有 API 密钥或 URL 的情况下复现 /quick ai,包括在空房间中复现,然后检查 AI 模态框、应用设置以及 /quick config 的入口。完成标准是提供特定于角色且可采取行动的错误、针对空房间的通知,并且仅为所选 provider 使用的字段显示必需标记。
由索引模型根据 Issue 内容生成。
描述
Description
When /quick ai is used without a configured API key or URL, the error messages shown in the AI modal are not helpful:
- Admins see "Please contact your administrator" even though they ARE the admin
- Personal mode users see "Please check your configuration" with no direction on where to fix it
- All error messages are the same regardless of the user's role
- Running
/quick aiin an empty room silently does nothing - App settings mark all fields as required even though only the selected provider's fields need to be filled
Expected behavior
- Admins should see "Please add the required API key or URL in the app settings"
- Regular workspace users should see "The required API key or URL is missing. Please contact your administrator"
- Personal mode users should see "Please set up your API key or URL using
/quick config" - Running
/quick aiin an empty room should show a notification - App settings should not show required markers on optional fields
Steps to reproduce
- Install the Quick Replies app
- Do not configure any AI API key
- Run
/quick ai, type a prompt, click Generate - Observe: admin sees "contact your administrator" error
- Also try in an empty channel — nothing happens
Version
Version 8.1.1
What browsers are you seeing the problem on?
Chrome
- 主要语言
- TypeScript
- 星标
- 7
- 派生
- 21
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 没有贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
RocketChat/Apps.QuickReplies 的其他 Issue
-
[Bug] Handle Gemini error responses safely in /quick ai可能已有人在做 @CodeMatrix1 于 230 天前认领。 未关闭bug
难度 3/5 1-2 天 新手友好度 52/100
RocketChat/Apps.QuickReplies#82 · 1 条评论 ·
-
[Bug]: Contextual bar actions do not work and duplicate reply names are allowed during edits可能重新可做 关联的 PR 已关闭且未合并。 未关闭bug
难度 3/5 1-2 天 新手友好度 48/100
RocketChat/Apps.QuickReplies#70 · 1 条评论 ·
-
bug
难度 3/5 1-2 天 新手友好度 45/100
-
[Feat] One Click AI-Powered Reply Suggestions for Improved UX可能重新可做 @moyrsd 于 583 天前认领,目前没有进行中的 PR。 未关闭enhancement
RocketChat/Apps.QuickReplies#59 · 3 条评论 · 已指派 1 人 ·
-
bug
难度 2/5 1-3 小时 新手友好度 35/100
RocketChat/Apps.QuickReplies#55 · 2 条评论 ·
查看 RocketChat/Apps.QuickReplies 的全部 Issue
相似的 Issue
-
Bug: Broken RTL / BiDi text rendering when mixing Persian (Farsi) with English or numbers可能已有人在做 关联的 PR 仍在进行中或已合并。 未关闭bug
难度 2/5 半天 新手友好度 68/100
amosblomqvist/learnharness#758 ·
维护者通常 2 天内回复
-
难度 2/5 1-3 小时 新手友好度 62/100
bitfocus/companion-module-renewedvision-propresenter-api#134 ·
-
难度 2/5 1-3 小时 新手友好度 82/100
rcpch/digital-growth-charts-react-component-library#304 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 72/100
dsh-market/dsh-market#1210 · 1 条评论 ·
维护者通常 1 天内回复
-
good first issue
难度 2/5 1-3 小时 新手友好度 86/100
trustjonathan/STUDY-HUB#13 ·