Files
deerflow-code/frontend-web/src/roundtable-planning/lib/clarification.ts
T
AdministratorandClaude Opus 4.8 f590f672be feat(skills/settings): 技能复制 + 设置持久化等会话前改动
- 技能复制:新增 POST 复制接口(_rewrite_skill_frontmatter_name 重写 frontmatter name + 校验 + 去重),前端 skills api/hooks 与技能设置页配套
- 设置持久化:lastAgentId、线程 RAG 模式锁(settings/index、local)
- i18n(en/zh/types)、agent-card/input-box/message-list 等页面文案与交互微调
- scheduler/element.py 小修

(本批为会话前已存在的工作区改动,按要求一并提交;构建产物 backend.zip 未提交)

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-02 23:48:19 +08:00

16 lines
592 B
TypeScript

/**
* Resolve whether option cards should allow multi-select.
*
* Product decision: ALL clarification prompts are multi-select. Clicking an
* option only toggles its selection; the conversation continues only after the
* user presses the confirm button. We intentionally ignore the backend
* `allow_multiple` hint (and the old single-select "click to send" fast path)
* so the user is never forced into picking exactly one option.
*/
export function resolveAllowMultiple(
_allowMultiple: boolean | undefined,
_clarificationType?: string | undefined,
): boolean {
return true;
}