removed unnecessary "LLM Instruction" prompt for image generation
This commit is contained in:
@@ -521,23 +521,10 @@ async function initUI() {
|
|||||||
extensionSettings.autoGenerateAvatars = $(this).prop('checked');
|
extensionSettings.autoGenerateAvatars = $(this).prop('checked');
|
||||||
saveSettings();
|
saveSettings();
|
||||||
|
|
||||||
// Show/hide avatar options based on toggle
|
|
||||||
const $options = $('#rpg-avatar-options');
|
|
||||||
if (extensionSettings.autoGenerateAvatars) {
|
|
||||||
$options.slideDown(200);
|
|
||||||
} else {
|
|
||||||
$options.slideUp(200);
|
|
||||||
}
|
|
||||||
|
|
||||||
// Re-render thoughts to update tooltips (regenerate vs delete)
|
// Re-render thoughts to update tooltips (regenerate vs delete)
|
||||||
renderThoughts();
|
renderThoughts();
|
||||||
});
|
});
|
||||||
|
|
||||||
$('#rpg-avatar-llm-instruction').on('input', function() {
|
|
||||||
extensionSettings.avatarLLMCustomInstruction = $(this).val().trim();
|
|
||||||
saveSettings();
|
|
||||||
});
|
|
||||||
|
|
||||||
$('#rpg-toggle-dice-display').on('change', function() {
|
$('#rpg-toggle-dice-display').on('change', function() {
|
||||||
extensionSettings.showDiceDisplay = $(this).prop('checked');
|
extensionSettings.showDiceDisplay = $(this).prop('checked');
|
||||||
saveSettings();
|
saveSettings();
|
||||||
@@ -745,14 +732,6 @@ async function initUI() {
|
|||||||
|
|
||||||
// Initialize avatar options
|
// Initialize avatar options
|
||||||
$('#rpg-toggle-auto-avatars').prop('checked', extensionSettings.autoGenerateAvatars || false);
|
$('#rpg-toggle-auto-avatars').prop('checked', extensionSettings.autoGenerateAvatars || false);
|
||||||
$('#rpg-avatar-llm-instruction').val(extensionSettings.avatarLLMCustomInstruction || '');
|
|
||||||
|
|
||||||
// Initialize avatar options visibility
|
|
||||||
if (extensionSettings.autoGenerateAvatars) {
|
|
||||||
$('#rpg-avatar-options').show();
|
|
||||||
} else {
|
|
||||||
$('#rpg-avatar-options').hide();
|
|
||||||
}
|
|
||||||
|
|
||||||
$('#rpg-toggle-dice-display').prop('checked', extensionSettings.showDiceDisplay);
|
$('#rpg-toggle-dice-display').prop('checked', extensionSettings.showDiceDisplay);
|
||||||
$('#rpg-stat-bar-color-low').val(extensionSettings.statBarColorLow);
|
$('#rpg-stat-bar-color-low').val(extensionSettings.statBarColorLow);
|
||||||
|
|||||||
+1
-16
@@ -280,22 +280,7 @@
|
|||||||
button.
|
button.
|
||||||
</small>
|
</small>
|
||||||
|
|
||||||
<!-- Avatar options container - conditionally visible -->
|
|
||||||
<div id="rpg-avatar-options" style="margin-left: 24px; margin-top: 12px; display: none;">
|
|
||||||
<div class="rpg-setting-row" style="margin-top: 12px;">
|
|
||||||
<label for="rpg-avatar-llm-instruction" style="display: block; margin-bottom: 8px;"
|
|
||||||
data-i18n-key="template.settingsModal.display.avatarLLMInstruction">
|
|
||||||
LLM Instruction:
|
|
||||||
</label>
|
|
||||||
<textarea id="rpg-avatar-llm-instruction" class="rpg-textarea" rows="3"
|
|
||||||
placeholder="Create a detailed portrait prompt focusing on the character's appearance, clothing, and mood..."></textarea>
|
|
||||||
<small style="display: block; margin-top: 4px; color: #888; font-size: 11px;"
|
|
||||||
data-i18n-key="template.settingsModal.display.avatarLLMInstructionNote">
|
|
||||||
The LLM will use character cards, tracker data, and chat context to generate detailed
|
|
||||||
prompts
|
|
||||||
</small>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="rpg-settings-group">
|
<div class="rpg-settings-group">
|
||||||
|
|||||||
Reference in New Issue
Block a user