feat: add admin permissions voice input analytics and feedback
This commit is contained in:
@@ -81,6 +81,11 @@ const groupBlueprints: Record<string, SettingGroupBlueprint[]> = {
|
||||
"chat_active_lease_seconds",
|
||||
],
|
||||
},
|
||||
{
|
||||
title: "语音输入",
|
||||
description: "控制用户端麦克风入口和单次录音上限。",
|
||||
keys: ["voice_input_enabled", "voice_max_duration_seconds"],
|
||||
},
|
||||
],
|
||||
外部服务: [
|
||||
{
|
||||
@@ -175,6 +180,13 @@ const statusItems = computed(() => [
|
||||
value: `${props.values.chat_max_active_requests || 0} 并发`,
|
||||
tone: "neutral",
|
||||
},
|
||||
{
|
||||
label: "语音输入",
|
||||
value: props.values.voice_input_enabled
|
||||
? `已开启 · ${props.values.voice_max_duration_seconds || 60} 秒`
|
||||
: "已关闭",
|
||||
tone: props.values.voice_input_enabled ? "success" : "neutral",
|
||||
},
|
||||
]);
|
||||
|
||||
function updateSetting(key: string, value: unknown) {
|
||||
|
||||
Reference in New Issue
Block a user