Repository navigation
Conversation
- 技能 tools 加上平台的 ask_which(cloud#4773,ask 智能体每轮都带)。它带着问题和 2–3 个选项结束这一轮,控制台画成可点的问题卡片(plugin-chatbot QuestionCard, 19.0.0-next.2 起),员工点一下即作答,不用打字 - 「按提问人的所属单位作答」里原来的文字提问改为:先不作答,调用 ask_which 问 「您在哪家公司?」,选项是另有规定的公司,再加「其他单位(按集团规定)」; 另有规定的公司超过 2 家(卡片放不下)或没有 ask_which(MCP 提示词)时,沿用原来 的文字提问 - 长度测试的上限按 cloud#5361 改为 8000(平台已提高上限且超限只告警);技能现 5802 字符,仍低于旧服务端的 6000 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_012dn2AcW8C4n6XNmbS4jPPh
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.
Requested by bob · project thread
改了什么
问询过程中要员工回答"在哪家公司"时,改为显示可点的按钮,不用打字。
tools加上平台的ask_which(cloud#4773)。它带着问题和 2–3 个选项结束这一轮,控制台画成问题卡片(@object-ui/plugin-chatbotQuestionCard,19.0.0-next.2 起;本仓库在 next.3),点选项即作为员工的回答发出,卡片还留一行"输入其他内容"。ask_which已在 ask 智能体每轮的平台技能里(clarify_reading),所以应用技能声明它不会被 ADR-0118 的允许集剔除。ask_which问「您在哪家公司?」,选项为另有规定的公司 + 「其他单位(按集团规定)」。另有规定的公司超过 2 家(卡片最多 3 项),或没有该工具(MCP 提示词)时,沿用原来的文字提问。行为变化
原来:先答集团规定、列出各公司差异,最后问一句在哪家公司。
现在:先弹按钮问公司,选定后直接按该公司规定作答。
验证
pnpm run validate、pnpm run typecheck通过policy-inquiry-ask-which.test.ts,长度测试通过Generated by Claude Code