This commit is contained in:
Timothy Jaeryang Baek committed 2026-05-09 05:14:55 +09:00
1 parent 41107a34ca
commit 1789303886
5 files changed
+17 -13

No files matched your search

@@ -31,6 +31,7 @@
ENABLE_RETRIEVAL_QUERY_GENERATION: true,
QUERY_GENERATION_PROMPT_TEMPLATE: '',
TOOLS_FUNCTION_CALLING_PROMPT_TEMPLATE: '',
ENABLE_VOICE_MODE_PROMPT: true,
VOICE_MODE_PROMPT_TEMPLATE: ''
};
@@ -239,19 +240,10 @@
{$i18n.t('Voice Mode Custom Prompt')}
</div>
<Switch
state={taskConfig.VOICE_MODE_PROMPT_TEMPLATE != null}
on:change={(e) => {
if (e.detail) {
taskConfig.VOICE_MODE_PROMPT_TEMPLATE = '';
} else {
taskConfig.VOICE_MODE_PROMPT_TEMPLATE = null;
}
}}
/>
<Switch bind:state={taskConfig.ENABLE_VOICE_MODE_PROMPT} />
</div>
{#if taskConfig.VOICE_MODE_PROMPT_TEMPLATE != null}
{#if taskConfig.ENABLE_VOICE_MODE_PROMPT}
<div class="mb-2.5">
<div class=" mb-1 text-xs font-medium">{$i18n.t('Voice Mode Prompt')}</div>