From 6cf45943970d901df1ff37c8fbff6d41c2f1ce3c Mon Sep 17 00:00:00 2001 From: digital-garbage <133010426+digital-garbage@users.noreply.github.com> Date: Sat, 16 May 2026 19:09:07 +0300 Subject: [PATCH] FunPackStudio: add lora_stack output, unhide positive_prompt - Add lora_stack (FUNPACK_LORA_STACK) as the 8th return value so the active stack flows out for downstream use - Remove positive_prompt from hidden widgets so the text area is visible on the node face and can be connected as a link input Co-Authored-By: Claude Sonnet 4.6 --- conditioning.py | 6 +++--- web/funpack_studio.js | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/conditioning.py b/conditioning.py index 4a379cb9..7970ae9a 100644 --- a/conditioning.py +++ b/conditioning.py @@ -11859,8 +11859,8 @@ class FunPackStudio: Advisor LLM, LoRA management, and Conditioning Adjust under one UI.""" CATEGORY = "FunPack" - RETURN_TYPES = ("CONDITIONING", "STRING", "STRING", "IMAGE", "STRING", "MODEL", "INT") - RETURN_NAMES = ("modified_positive", "status", "training_info", "loss_graph", "encoded_prompts", "model", "seed") + RETURN_TYPES = ("CONDITIONING", "STRING", "STRING", "IMAGE", "STRING", "MODEL", "INT", "FUNPACK_LORA_STACK") + RETURN_NAMES = ("modified_positive", "status", "training_info", "loss_graph", "encoded_prompts", "model", "seed", "lora_stack") FUNCTION = "run" DESCRIPTION = ( "FunPack Studio - all FunPack refinement tools in one node. " @@ -12053,4 +12053,4 @@ class FunPackStudio: except Exception as e: status = f"{status}\nConditioning adjust failed: {e}" - return (cond, status, training_info, loss_graph, encoded_prompts, out_model, seed) + return (cond, status, training_info, loss_graph, encoded_prompts, out_model, seed, active_lora_stack) diff --git a/web/funpack_studio.js b/web/funpack_studio.js index 0774b89f..d6871cad 100644 --- a/web/funpack_studio.js +++ b/web/funpack_studio.js @@ -3,7 +3,7 @@ import { api } from "../../scripts/api.js"; const NODE_NAME = "FunPackStudio"; const NONE_SENTINEL = "-None-"; -const HIDDEN_WIDGETS = new Set(["studio_settings", "adjustments", "positive_prompt"]); +const HIDDEN_WIDGETS = new Set(["studio_settings", "adjustments"]); const LORA_TYPES = ["general", "action", "concept", "style", "quality", "character"]; const ADVISOR_DTYPES = ["bfloat16", "float16", "float32"]; const REFINER_MODES = ["Refine", "Prompt only", "Learning"];