Update prompt configuration and enhance Lora management functionality

- Expanded the prompt.json file with new configurations for KSampler, CheckpointLoaderSimple, and various CLIPTextEncode nodes.
- Introduced additional Lora management features, including a new Lora Stacker and improved trigger word handling.
- Enhanced the loras_widget.js to log the generated prompt when saving recipes directly, aiding in debugging and user feedback.
- Improved overall structure and organization of the prompt configurations for better maintainability.
This commit is contained in:
Will Miao
2025-03-21 16:35:52 +08:00
parent d4f300645d
commit 4bff17aa1a
27 changed files with 1990 additions and 1 deletions

View File

@@ -769,6 +769,8 @@ export function addLorasWidget(node, name, opts, callback) {
// Function to directly save the recipe without dialog
async function saveRecipeDirectly(widget) {
try {
const prompt = await app.graphToPrompt();
console.log("prompt", prompt);
// Filter active loras
const activeLoras = widget.value.filter(lora => lora.active);