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 <noreply@anthropic.com>
This commit is contained in:
digital-garbage
2026-05-16 19:09:07 +03:00
co-authored by Claude Sonnet 4.6
parent 47d0907030
commit 6cf4594397
2 changed files with 4 additions and 4 deletions
+3 -3
View File
@@ -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)
+1 -1
View File
@@ -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"];