feat: add tool intent toggle

This commit is contained in:
JOJO 2026-01-01 06:20:41 +08:00
parent 8de3b5d24a
commit 2a67e10e9b
2 changed files with 136 additions and 57 deletions

File diff suppressed because one or more lines are too long

View File

@ -253,6 +253,29 @@
<span>使用快速模型为新对话生成含 emoji 的简短标题</span>
</label>
</div>
<div class="behavior-field">
<div class="behavior-field-header">
<span class="field-title">工具意图提示</span>
<p class="field-desc">开启后调用工具时会先用约15字告诉你要做什么替代正在/完成文案</p>
</div>
<label class="toggle-row">
<input
type="checkbox"
:checked="form.tool_intent_enabled"
@change="personalization.updateField({ key: 'tool_intent_enabled', value: $event.target.checked })"
/>
<span class="fancy-check" aria-hidden="true">
<svg viewBox="0 0 64 64">
<path
d="M 0 16 V 56 A 8 8 90 0 0 8 64 H 56 A 8 8 90 0 0 64 56 V 8 A 8 8 90 0 0 56 0 H 8 A 8 8 90 0 0 0 8 V 16 L 32 48 L 64 16 V 8 A 8 8 90 0 0 56 0 H 8 A 8 8 90 0 0 0 8 V 56 A 8 8 90 0 0 8 64 H 56 A 8 8 90 0 0 64 56 V 16"
pathLength="575.0541381835938"
class="fancy-path"
></path>
</svg>
</span>
<span>在工具块显示我要做什么的简短提示</span>
</label>
</div>
<div class="behavior-field">
<div class="behavior-field-header">
<span class="field-title">思考频率</span>