Add memory LLM preset switching

This commit is contained in:
Hao19911125
2026-04-07 10:18:03 +08:00
parent 0b189d1413
commit 19c802bdcc
4 changed files with 359 additions and 10 deletions

View File

@@ -569,6 +569,44 @@
</div>
</div>
</div>
<div class="bme-config-row bme-llm-preset-row">
<label for="bme-llm-preset-select">LLM 配置模板</label>
<div class="bme-llm-preset-controls">
<select
id="bme-llm-preset-select"
class="bme-config-input"
>
<option value="">-- 手动模式 --</option>
</select>
<button
id="bme-llm-preset-save"
class="bme-config-secondary-btn"
title="覆盖保存当前模板"
type="button"
>
<i class="fa-solid fa-floppy-disk"></i>
<span>保存</span>
</button>
<button
id="bme-llm-preset-save-as"
class="bme-config-secondary-btn"
title="另存为新模板"
type="button"
>
<i class="fa-solid fa-file-circle-plus"></i>
<span>另存为</span>
</button>
<button
id="bme-llm-preset-delete"
class="bme-config-secondary-btn"
title="删除当前模板"
type="button"
>
<i class="fa-solid fa-trash-can"></i>
<span>删除</span>
</button>
</div>
</div>
<div class="bme-config-row">
<label for="bme-setting-llm-url">LLM API 地址</label>
<input