fix(assistant): use dynamic backend list in assistant editor dropdown#1798
Merged
fix(assistant): use dynamic backend list in assistant editor dropdown#1798
Conversation
Replace the hardcoded 6-backend list in AssistantEditDrawer with a dynamic lookup from ACP_BACKENDS_ALL filtered by availableBackends. This ensures all detected backends (iFlow, Goose, Kimi, Copilot, etc.) appear in the Main Agent dropdown when creating or editing assistants. Closes #1385
Contributor
Code Review:fix(assistant): use dynamic backend list in assistant editor dropdown (#1798)变更概述本 PR 将 方案评估结论:✅ 方案合理 用 问题清单🔵 LOW — 双重
|
| # | 严重级别 | 文件 | 问题 |
|---|---|---|---|
| 1 | 🔵 LOW | AssistantEditDrawer.tsx:265 |
双重 .map() 可合并 |
结论
✅ 批准合并 — 无阻塞性问题,修复方案正确,测试覆盖充分,LOW 级别优化不影响合并。
本报告由本地 pr-review skill 生成,包含完整项目上下文,无截断限制。
CONCLUSION: APPROVED
IS_CRITICAL_PATH: false
PR_NUMBER: 1798
Contributor
|
✅ 已自动 review,无阻塞性问题,正在触发自动合并。 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
ACP_BACKENDS_ALLRelated Issues
Closes #1385
Test Plan