mirror of
https://github.com/SilenceLurker/ST-Amily2-Chat-Optimisation.git
synced 2026-06-06 04:15:51 +00:00
update input type to number
This commit is contained in:
0
.gitignore
vendored
Normal file
0
.gitignore
vendored
Normal file
@@ -103,15 +103,15 @@
|
|||||||
|
|
||||||
<div class="amily2_settings_block">
|
<div class="amily2_settings_block">
|
||||||
<label for="amily2_max_tokens">最大Token数: <span id="amily2_max_tokens_value"></span></label>
|
<label for="amily2_max_tokens">最大Token数: <span id="amily2_max_tokens_value"></span></label>
|
||||||
<input id="amily2_max_tokens" type="range" min="100" max="100000" step="50" />
|
<input id="amily2_max_tokens" type="number" class="text_pole" min="100" max="100000"/>
|
||||||
</div>
|
</div>
|
||||||
<div class="amily2_settings_block">
|
<div class="amily2_settings_block">
|
||||||
<label for="amily2_temperature">思考活跃度: <span id="amily2_temperature_value"></span></label>
|
<label for="amily2_temperature">思考活跃度: <span id="amily2_temperature_value"></span></label>
|
||||||
<input id="amily2_temperature" type="range" min="0" max="2" step="0.1" />
|
<input id="amily2_temperature" type="number" class="text_pole" min="0" max="2"/>
|
||||||
</div>
|
</div>
|
||||||
<div class="amily2_settings_block">
|
<div class="amily2_settings_block">
|
||||||
<label for="amily2_context_messages">上下文参考数: <span id="amily2_context_messages_value"></span></label>
|
<label for="amily2_context_messages">上下文参考数: <span id="amily2_context_messages_value"></span></label>
|
||||||
<input id="amily2_context_messages" type="range" min="0" max="10" step="1" />
|
<input id="amily2_context_messages" type="number" class="text_pole" min="0" max="10"/>
|
||||||
</div>
|
</div>
|
||||||
</fieldset>
|
</fieldset>
|
||||||
|
|
||||||
|
|||||||
@@ -73,9 +73,9 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<label for="amily2_jqyh_max_tokens">最大 Tokens: <span id="amily2_jqyh_max_tokens_value">4000</span></label>
|
<label for="amily2_jqyh_max_tokens">最大 Tokens: <span id="amily2_jqyh_max_tokens_value">4000</span></label>
|
||||||
<input type="range" id="amily2_jqyh_max_tokens" min="100" max="100000" step="100" value="4000">
|
<input type="number" class="text_pole" id="amily2_jqyh_max_tokens" min="100" max="100000" value="4000">
|
||||||
<label for="amily2_jqyh_temperature">温度: <span id="amily2_jqyh_temperature_value">0.7</span></label>
|
<label for="amily2_jqyh_temperature">温度: <span id="amily2_jqyh_temperature_value">0.7</span></label>
|
||||||
<input type="range" id="amily2_jqyh_temperature" min="0" max="2" step="0.1" value="0.7">
|
<input type="number" class="text_pole" id="amily2_jqyh_temperature" min="0" max="2" value="0.7">
|
||||||
</div>
|
</div>
|
||||||
</fieldset>
|
</fieldset>
|
||||||
|
|
||||||
@@ -104,7 +104,7 @@
|
|||||||
<select id="amily2_plotOpt_concurrentModel_select" class="text_pole" style="display: none;"></select>
|
<select id="amily2_plotOpt_concurrentModel_select" class="text_pole" style="display: none;"></select>
|
||||||
</div>
|
</div>
|
||||||
<label for="amily2_plotOpt_concurrentMaxTokens">最大 Tokens: <span id="amily2_plotOpt_concurrentMaxTokens_value">8100</span></label>
|
<label for="amily2_plotOpt_concurrentMaxTokens">最大 Tokens: <span id="amily2_plotOpt_concurrentMaxTokens_value">8100</span></label>
|
||||||
<input type="range" id="amily2_plotOpt_concurrentMaxTokens" min="100" max="100000" step="100" value="8100">
|
<input type="number" class="text_pole" id="amily2_plotOpt_concurrentMaxTokens" min="100" max="100000" value="8100">
|
||||||
<div class="jqyh-button-row" style="grid-column: 1 / -1;">
|
<div class="jqyh-button-row" style="grid-column: 1 / -1;">
|
||||||
<button id="amily2_plotOpt_concurrent_fetch_models" class="menu_button secondary" title="获取模型列表"><i class="fas fa-sync-alt"></i> 获取模型</button>
|
<button id="amily2_plotOpt_concurrent_fetch_models" class="menu_button secondary" title="获取模型列表"><i class="fas fa-sync-alt"></i> 获取模型</button>
|
||||||
<button id="amily2_plotOpt_concurrent_test_connection" class="menu_button primary"><i class="fas fa-plug"></i> 测试连接</button>
|
<button id="amily2_plotOpt_concurrent_test_connection" class="menu_button primary"><i class="fas fa-plug"></i> 测试连接</button>
|
||||||
@@ -142,7 +142,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="inline-settings-grid">
|
<div class="inline-settings-grid">
|
||||||
<label for="amily2_plotOpt_concurrentWorldbookCharLimit">世界书最大字符数: <span id="amily2_plotOpt_concurrentWorldbookCharLimit_value">60000</span></label>
|
<label for="amily2_plotOpt_concurrentWorldbookCharLimit">世界书最大字符数: <span id="amily2_plotOpt_concurrentWorldbookCharLimit_value">60000</span></label>
|
||||||
<input type="range" id="amily2_plotOpt_concurrentWorldbookCharLimit" min="1000" max="200000" step="1000" value="60000">
|
<input type="number" class="text_pole" id="amily2_plotOpt_concurrentWorldbookCharLimit" min="1000" max="200000" value="60000">
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</fieldset>
|
</fieldset>
|
||||||
@@ -236,9 +236,9 @@
|
|||||||
<legend>上下文参数</legend>
|
<legend>上下文参数</legend>
|
||||||
<div class="inline-settings-grid">
|
<div class="inline-settings-grid">
|
||||||
<label for="amily2_opt_context_limit">上下文条数: <span id="amily2_opt_context_limit_value">10</span></label>
|
<label for="amily2_opt_context_limit">上下文条数: <span id="amily2_opt_context_limit_value">10</span></label>
|
||||||
<input type="range" id="amily2_opt_context_limit" min="1" max="50" step="1" value="10">
|
<input type="number" class="text_pole" id="amily2_opt_context_limit" min="1" max="50" value="10">
|
||||||
<label for="amily2_opt_worldbook_char_limit">世界书最大字符数: <span id="amily2_opt_worldbook_char_limit_value">60000</span></label>
|
<label for="amily2_opt_worldbook_char_limit">世界书最大字符数: <span id="amily2_opt_worldbook_char_limit_value">60000</span></label>
|
||||||
<input type="range" id="amily2_opt_worldbook_char_limit" min="1000" max="200000" step="1000" value="60000">
|
<input type="number" class="text_pole" id="amily2_opt_worldbook_char_limit" min="1000" max="200000" value="60000">
|
||||||
</div>
|
</div>
|
||||||
</fieldset>
|
</fieldset>
|
||||||
<fieldset class="settings-group">
|
<fieldset class="settings-group">
|
||||||
|
|||||||
@@ -183,11 +183,11 @@
|
|||||||
<!-- 通用参数配置 -->
|
<!-- 通用参数配置 -->
|
||||||
<div class="control-group">
|
<div class="control-group">
|
||||||
<label for="amily2_ngms_max_tokens">最大令牌数:<span id="amily2_ngms_max_tokens_value">4000</span></label>
|
<label for="amily2_ngms_max_tokens">最大令牌数:<span id="amily2_ngms_max_tokens_value">4000</span></label>
|
||||||
<input type="range" id="amily2_ngms_max_tokens" min="100" max="100000" step="100" value="4000" />
|
<input type="number" class="text_pole" id="amily2_ngms_max_tokens" min="100" max="100000" value="4000" />
|
||||||
</div>
|
</div>
|
||||||
<div class="control-group">
|
<div class="control-group">
|
||||||
<label for="amily2_ngms_temperature">温度:<span id="amily2_ngms_temperature_value">0.7</span></label>
|
<label for="amily2_ngms_temperature">温度:<span id="amily2_ngms_temperature_value">0.7</span></label>
|
||||||
<input type="range" id="amily2_ngms_temperature" min="0" max="2" step="0.1" value="0.7" />
|
<input type="number" class="text_pole" id="amily2_ngms_temperature" min="0" max="2" value="0.7" />
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="control-group" style="display: flex; align-items: center; gap: 10px;">
|
<div class="control-group" style="display: flex; align-items: center; gap: 10px;">
|
||||||
|
|||||||
@@ -135,7 +135,7 @@
|
|||||||
|
|
||||||
<div class="amily2_opt_settings_block">
|
<div class="amily2_opt_settings_block">
|
||||||
<label for="table_worldbook_char_limit">世界书最大字符数: <span id="table_worldbook_char_limit_value">60000</span></label>
|
<label for="table_worldbook_char_limit">世界书最大字符数: <span id="table_worldbook_char_limit_value">60000</span></label>
|
||||||
<input type="range" id="table_worldbook_char_limit" min="1000" max="200000" step="1000" value="60000">
|
<input type="number" class="text_pole" id="table_worldbook_char_limit" min="1000" max="200000" value="60000">
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<hr>
|
<hr>
|
||||||
@@ -328,12 +328,12 @@
|
|||||||
|
|
||||||
<div class="amily2_opt_settings_block" style="margin-bottom: 10px;">
|
<div class="amily2_opt_settings_block" style="margin-bottom: 10px;">
|
||||||
<label for="nccs-max-tokens">最大Token数: <span id="nccs-max-tokens-value">2000</span></label>
|
<label for="nccs-max-tokens">最大Token数: <span id="nccs-max-tokens-value">2000</span></label>
|
||||||
<input type="range" id="nccs-max-tokens" min="100" max="100000" step="100" value="2000">
|
<input type="number" class="text_pole" id="nccs-max-tokens" min="100" max="100000" value="2000">
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="amily2_opt_settings_block" style="margin-bottom: 10px;">
|
<div class="amily2_opt_settings_block" style="margin-bottom: 10px;">
|
||||||
<label for="nccs-temperature">Temperature: <span id="nccs-temperature-value">0.7</span></label>
|
<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">
|
<input type="number" class="text_pole" id="nccs-temperature" min="0" max="2" value="0.7">
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="amily2_opt_settings_block" style="margin-bottom: 10px;">
|
<div class="amily2_opt_settings_block" style="margin-bottom: 10px;">
|
||||||
|
|||||||
@@ -76,11 +76,13 @@
|
|||||||
<!-- 通用参数配置 -->
|
<!-- 通用参数配置 -->
|
||||||
<div class="control-group">
|
<div class="control-group">
|
||||||
<label for="amily2_sybd_max_tokens">最大令牌数:<span id="amily2_sybd_max_tokens_value">4000</span></label>
|
<label for="amily2_sybd_max_tokens">最大令牌数:<span id="amily2_sybd_max_tokens_value">4000</span></label>
|
||||||
<input type="range" id="amily2_sybd_max_tokens" min="100" max="100000" step="100" value="4000" data-setting-key="sybdMaxTokens" data-type="integer" />
|
<input type="number" class="text_pole" id="amily2_sybd_max_tokens" min="100" max="100000" value="4000"
|
||||||
|
data-setting-key="sybdMaxTokens" data-type="integer" />
|
||||||
</div>
|
</div>
|
||||||
<div class="control-group">
|
<div class="control-group">
|
||||||
<label for="amily2_sybd_temperature">温度:<span id="amily2_sybd_temperature_value">0.7</span></label>
|
<label for="amily2_sybd_temperature">温度:<span id="amily2_sybd_temperature_value">0.7</span></label>
|
||||||
<input type="range" id="amily2_sybd_temperature" min="0" max="2" step="0.1" value="0.7" data-setting-key="sybdTemperature" data-type="float" />
|
<input type="number" class="text_pole" id="amily2_sybd_temperature" min="0" max="2" value="0.7"
|
||||||
|
data-setting-key="sybdTemperature" data-type="float" />
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<!-- 测试按钮组 - 水平排列 -->
|
<!-- 测试按钮组 - 水平排列 -->
|
||||||
|
|||||||
Reference in New Issue
Block a user