mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
Rearrange Horde blocks
This commit is contained in:
@ -1308,6 +1308,10 @@
|
||||
<form action="javascript:void(null);" method="post" enctype="multipart/form-data">
|
||||
<div id="kobold_horde_block">
|
||||
<ul>
|
||||
<li>
|
||||
Avoid sending sensitive information to the Horde.
|
||||
<a target="_blank" href="https://docs.sillytavern.app/usage/api-connections/horde/">Review the Privacy statement</a>
|
||||
</li>
|
||||
<li>
|
||||
<a target="_blank" href="https://horde.koboldai.net/register">Register a Horde
|
||||
account for faster queue times</a>
|
||||
@ -1347,13 +1351,11 @@
|
||||
<div class="neutral_warning">For privacy reasons, your API key will be hidden after you
|
||||
reload the page.</div>
|
||||
<h4 class="horde_model_title">
|
||||
Model
|
||||
Models
|
||||
<div id="horde_refresh" title="Refresh models" class="right_menu_button">
|
||||
<div class="fa-solid fa-repeat "></div>
|
||||
</div>
|
||||
</h4>
|
||||
<small class="horde_multiple_hint">You can select multiple models.<br>Avoid sending
|
||||
sensitive information to the Horde. <a id="horde_privacy_disclaimer" target="_blank" href="https://docs.sillytavern.app/usage/api-connections/horde/">Learn more</a></small>
|
||||
<select id="horde_model" multiple>
|
||||
<option>-- Horde models not loaded --</option>
|
||||
</select>
|
||||
|
@ -271,6 +271,14 @@ jQuery(function () {
|
||||
placeholder: 'Select Horde models',
|
||||
allowClear: true,
|
||||
closeOnSelect: false,
|
||||
templateSelection: function(data) {
|
||||
// Customize the pillbox text by shortening the full text
|
||||
return data.id;
|
||||
},
|
||||
templateResult: function(data) {
|
||||
// Return the full text for the dropdown
|
||||
return data.text;
|
||||
},
|
||||
});
|
||||
}
|
||||
})
|
||||
|
Reference in New Issue
Block a user