feat: 为Remoter组件添加语音输入属性 - #537
Conversation
|
[ci-test-pass] 未改动测试相关源码(next-sdk / webmcp-cli),已跳过单元测试与浏览器 E2E。
|
WalkthroughTinyRobotChat now supports optional voice input through the ChangesVoice input support
Estimated code review effort: 2 (Simple) | ~10 minutes Suggested reviewers: Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches 💡 1🛠️ Fix failing CI checks 💡
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In `@docs/remoter/basic.md`:
- Line 149: In the documentation entry for the `allowSpeech` parameter, update
the Chinese description text from "启用语言输入模式" to "启用语音输入功能" to correctly reflect
voice input functionality and align with the implementation terminology, while
keeping the default value and other parts of the description intact.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Organization UI
Review profile: CHILL
Plan: Pro Plus
Run ID: 0bc69c26-7a37-4da9-9bdb-f633279a198f
📒 Files selected for processing (2)
docs/remoter/basic.mdpackages/next-remoter/src/components/TinyRobotChat.vue
| - `inBrowserExt` 设置组件运行于普通页面还是浏览器扩展,默认值为 `false` | ||
| - `genUiAble` 双向绑定是否启用生成式 UI 渲染,默认值为 `false`。输入框旁的「生成式 UI」开关是否显示由**当前模型配置**决定:仅当配置中同时包含 `baseURL` 和 `genuiUrl` 时才会显示 | ||
| - `genUiComponents` 生成式 UI 已内置一批组件;如需支持额外组件,可通过该属性导入,例如:`shallowReactive({ TinyUser, TinyAlert })` | ||
| - `allowSpeech` 启用语言输入模式,默认值为 `false` |
There was a problem hiding this comment.
📐 Maintainability & Code Quality | 🟡 Minor | ⚡ Quick win
Use “语音输入” in the documentation.
allowSpeech enables voice input. Change 启用语言输入模式 to 启用语音输入功能 so the documentation matches the implementation and PR objective.
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
In `@docs/remoter/basic.md` at line 149, In the documentation entry for the
`allowSpeech` parameter, update the Chinese description text from "启用语言输入模式" to
"启用语音输入功能" to correctly reflect voice input functionality and align with the
implementation terminology, while keeping the default value and other parts of
the description intact.
Pull Request (OpenTiny NEXT-SDKs)
allowSpeech启用语言输入模式,默认值为falseSummary
What is the current behavior?
What is the new behavior?
Does this PR introduce a breaking change?
Other information
(可选。Issue 请用 GitHub 原生关联,无需手填路径。)
Summary by CodeRabbit
allowSpeechsetting.allowSpeechsetting and its default value.