增强 NccsApi 和 Amily2Bus 的注册逻辑,添加 FakeStream 设置选项,优化初始化流程

This commit is contained in:
2026-01-18 23:01:34 +08:00
committed by Silence_Lurker
parent 3168575277
commit 3d6a3d2f97
5 changed files with 152 additions and 145 deletions

View File

@@ -331,6 +331,12 @@
<input type="range" id="nccs-max-tokens" min="100" max="100000" step="100" value="2000">
</div>
<div class="amily2_opt_settings_block" style="margin-bottom: 10px;">
<label for="nccs-temperature">Temperature: <span id="nccs-temperature-value">0.7</span></label>
<input type="checkbox" id="nccs-api-fakestream-enabled" data-setting-key="nccsFakeStreamEnabled"
data-type="boolean">
</div>
<div class="amily2_opt_settings_block" style="margin-bottom: 10px;">
<label for="nccs-temperature">Temperature: <span id="nccs-temperature-value">0.7</span></label>
<input type="range" id="nccs-temperature" min="0" max="2" step="0.1" value="0.7">