raw_text output for LLamaCPPCLIPTextEncode(LLamaCPP Universal)

This commit is contained in:
Paul Alesius
2025-08-13 17:10:19 +02:00
parent a2ef7fdf1a
commit 39d4672e9a
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -248,8 +248,8 @@ class MZ_LLamaCPPCLIPTextEncode:
},
}
RETURN_TYPES = ("STRING", "CONDITIONING",)
RETURN_NAMES = ("text", "conditioning",)
RETURN_TYPES = ("STRING", "CONDITIONING", "STRING")
RETURN_NAMES = ("text", "conditioning","text_raw")
OUTPUT_NODE = True
FUNCTION = "encode"
CATEGORY = CATEGORY_NAME
+1 -1
View File
@@ -235,7 +235,7 @@ def llama_cpp_node_encode(args_dict):
conditionings = mz_prompt_utils.Utils.a1111_clip_text_encode(
clip, response, )
return {"ui": {"string": [mz_prompt_utils.Utils.to_debug_prompt(response, translate_option),]}, "result": (response, conditionings)}
return {"ui": {"string": [mz_prompt_utils.Utils.to_debug_prompt(response, translate_option),]}, "result": (response, conditionings, response)}
def image_interrogator_captioner(args_dict):