From a7cb71b3dd3526a6b2d0b9c7b9f0cc8b0bce2f69 Mon Sep 17 00:00:00 2001 From: shenjunjian <40288193@qq.com> Date: Fri, 31 Jul 2026 15:17:13 +0800 Subject: [PATCH 1/2] =?UTF-8?q?feat:=20=E4=B8=BARemoter=E7=BB=84=E4=BB=B6?= =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E8=AF=AD=E9=9F=B3=E8=BE=93=E5=85=A5=E5=B1=9E?= =?UTF-8?q?=E6=80=A7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/remoter/basic.md | 1 + .../next-remoter/src/components/TinyRobotChat.vue | 11 ++++++++++- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/docs/remoter/basic.md b/docs/remoter/basic.md index 714c5c0b..1947626d 100644 --- a/docs/remoter/basic.md +++ b/docs/remoter/basic.md @@ -146,6 +146,7 @@ type UnifiedModelConfig = ICustomAgentModelProviderLlmConfig & { - `inBrowserExt` 设置组件运行于普通页面还是浏览器扩展,默认值为 `false` - `genUiAble` 双向绑定是否启用生成式 UI 渲染,默认值为 `false`。输入框旁的「生成式 UI」开关是否显示由**当前模型配置**决定:仅当配置中同时包含 `baseURL` 和 `genuiUrl` 时才会显示 - `genUiComponents` 生成式 UI 已内置一批组件;如需支持额外组件,可通过该属性导入,例如:`shallowReactive({ TinyUser, TinyAlert })` +- `allowSpeech` 启用语言输入模式。 ## 二、事件 diff --git a/packages/next-remoter/src/components/TinyRobotChat.vue b/packages/next-remoter/src/components/TinyRobotChat.vue index 996fb776..7a508409 100644 --- a/packages/next-remoter/src/components/TinyRobotChat.vue +++ b/packages/next-remoter/src/components/TinyRobotChat.vue @@ -74,6 +74,9 @@ :multiple="true" @select="onFilesSelected" /> + @@ -107,7 +110,8 @@ import { TrMcpServerPicker, TrHistory, TrAttachments, - TrUploadButton + TrUploadButton, + VoiceButton } from '@opentiny/tiny-robot' import type { PluginInfo, MarketCategoryOption } from '@opentiny/tiny-robot' @@ -266,6 +270,11 @@ const props = defineProps({ pillItems: { type: Array, default: undefined + }, + /** 支持语音输入功能 */ + allowSpeech: { + type: Boolean, + default: false } }) From 3fce5c8f1b8b2a08b02a36ce7c9439f5262b635d Mon Sep 17 00:00:00 2001 From: shenjunjian <40288193@qq.com> Date: Fri, 31 Jul 2026 15:18:28 +0800 Subject: [PATCH 2/2] =?UTF-8?q?fix:=20=E8=A1=A5=E5=85=85=E9=BB=98=E8=AE=A4?= =?UTF-8?q?=E5=80=BC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/remoter/basic.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/remoter/basic.md b/docs/remoter/basic.md index 1947626d..45adb95d 100644 --- a/docs/remoter/basic.md +++ b/docs/remoter/basic.md @@ -146,7 +146,7 @@ type UnifiedModelConfig = ICustomAgentModelProviderLlmConfig & { - `inBrowserExt` 设置组件运行于普通页面还是浏览器扩展,默认值为 `false` - `genUiAble` 双向绑定是否启用生成式 UI 渲染,默认值为 `false`。输入框旁的「生成式 UI」开关是否显示由**当前模型配置**决定:仅当配置中同时包含 `baseURL` 和 `genuiUrl` 时才会显示 - `genUiComponents` 生成式 UI 已内置一批组件;如需支持额外组件,可通过该属性导入,例如:`shallowReactive({ TinyUser, TinyAlert })` -- `allowSpeech` 启用语言输入模式。 +- `allowSpeech` 启用语言输入模式,默认值为 `false` ## 二、事件