Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
56aa1bef12 | ||
|
|
b4a82be05b | ||
|
|
7445bc4971 | ||
|
|
e022b92ef1 | ||
|
|
7d807b5728 | ||
|
|
f6633f19e4 |
+2
-2
@@ -1,8 +1,8 @@
|
||||
{
|
||||
"name": "TA-ComfyUI-Nodes-Pack",
|
||||
"author": "tmode-1960",
|
||||
"description": "Some useful nodes for ComfyUI (Model Loader, LM Studio, Ollama and more)",
|
||||
"version": "2.0.0",
|
||||
"description": "Custom ComfyUI nodes for advanced AI image workflows. Includes smart model loaders (FLUX, SDXL, ZImage, Qwen), LM Studio/Ollama integration, sampler presets, VRAM/RAM cleanup, and prompt utilities.",
|
||||
"version": "2.0.1",
|
||||
"repository": "https://github.com/tmode-1960/TA-ComfyUI-Nodes-Pack",
|
||||
"license": "Apache 2.0"
|
||||
}
|
||||
|
||||
+3
-3
@@ -1,10 +1,10 @@
|
||||
[project]
|
||||
name = "TA-ComfyUI-Nodes-Pack"
|
||||
version = "2.0.0"
|
||||
description = "Some useful nodes for ComfyUI (Model Loader, LM Studio, Ollama and more))"
|
||||
version = "2.0.1"
|
||||
description = "Custom ComfyUI nodes for advanced AI image workflows. Includes smart model loaders (FLUX, SDXL, ZImage, Qwen), LM Studio/Ollama integration, sampler presets, VRAM/RAM cleanup, and prompt utilities."
|
||||
readme = "README.md"
|
||||
requires-python = ">=3.8"
|
||||
license = {text = "MIT"}
|
||||
license = {text = "Apache-2.0"}
|
||||
authors = [
|
||||
{name = "tmode-1960", email = "info@thomo.art"}
|
||||
]
|
||||
|
||||
+13
-5
@@ -2,9 +2,9 @@
|
||||
================================================================================
|
||||
Node Name : TA Smart LLM
|
||||
Created : 2025
|
||||
Modified : 2026-03-13
|
||||
Modified : 2026-03-15
|
||||
Copyright : © 2026, Thomas Möhrling (thomo.ART)
|
||||
Version : 2.2
|
||||
Version : 2.9
|
||||
--------------------------------------------------------------------------------
|
||||
Part of ComfyUI-TA-Nodes-Pack
|
||||
License : Apache 2.0
|
||||
@@ -159,6 +159,8 @@ class TASmartLLM:
|
||||
"model": (models, {"default": models[0] if models else "No Backend"}),
|
||||
"user_prompt": ("STRING", {"multiline": True, "default": ""}),
|
||||
"system_prompt": ("STRING", {"multiline": True, "default": "You are an expert SD prompt generator."}),
|
||||
"temperature": ("FLOAT", {"default": 0.7, "min": 0.0, "max": 2.0, "step": 0.05}),
|
||||
"max_tokens": ("INT", {"default": 1024, "min": 64, "max": 8192, "step": 64}),
|
||||
"unload_image_models_first": ("BOOLEAN", {"default": False}),
|
||||
"unload_llm_after": ("BOOLEAN", {"default": False}),
|
||||
},
|
||||
@@ -269,6 +271,7 @@ class TASmartLLM:
|
||||
raise last_error
|
||||
|
||||
def generate(self, llm_enable, model, user_prompt, system_prompt,
|
||||
temperature=0.7, max_tokens=1024,
|
||||
unload_image_models_first=False, unload_llm_after=False,
|
||||
image=None):
|
||||
"""
|
||||
@@ -331,7 +334,8 @@ class TASmartLLM:
|
||||
{"role": "system", "content": system_prompt},
|
||||
{"role": "user", "content": user_content}
|
||||
],
|
||||
"max_tokens": 1024
|
||||
"temperature": temperature,
|
||||
"max_tokens": max_tokens
|
||||
}
|
||||
|
||||
result = self._post_with_retry(url, payload, is_lmstudio=True)
|
||||
@@ -345,7 +349,11 @@ class TASmartLLM:
|
||||
payload = {
|
||||
"model": model_name,
|
||||
"prompt": f"{system_prompt}\n\n{full_prompt}".strip(),
|
||||
"stream": False
|
||||
"stream": False,
|
||||
"options": {
|
||||
"temperature": temperature,
|
||||
"num_predict": max_tokens
|
||||
}
|
||||
}
|
||||
|
||||
if img_b64:
|
||||
@@ -363,4 +371,4 @@ class TASmartLLM:
|
||||
|
||||
|
||||
NODE_CLASS_MAPPINGS = {"TASmartLLM": TASmartLLM}
|
||||
NODE_DISPLAY_NAME_MAPPINGS = {"TASmartLLM": "TA Smart LLM v2.2"}
|
||||
NODE_DISPLAY_NAME_MAPPINGS = {"TASmartLLM": "TA Smart LLM v2.9"}
|
||||
|
||||
@@ -1 +1 @@
|
||||
["LMStudio/cognitivecomputations_dolphin-mistral-24b-venice-edition", "LMStudio/cydonia-24b-v4.1", "LMStudio/deepseek-coder-v2-lite-16b", "LMStudio/gemma-3-27b-it-qat", "LMStudio/huihui-qwen3-vl-8b-instruct-abliterated", "LMStudio/llama-3.1-unhinged-vision-8b", "LMStudio/llama-3.2-1b-instruct", "LMStudio/llava-v1.5-7b-llamafile", "LMStudio/mistral-catmacaroni-slerp-uncensored-7b", "LMStudio/mistral-small-3.1-draft-0.5b", "LMStudio/mistralai/devstral-small-2-2512", "LMStudio/mistralai/ministral-3-14b-reasoning", "LMStudio/qwen2.5-0.5b-instruct", "LMStudio/qwen2.5-0.5b-song-lyrics-generation", "LMStudio/qwen3-30b-a3b-thinking-2507-claude-4.5-sonnet-high-reasoning-distill", "LMStudio/qwen3-4b-thinking-2507", "LMStudio/qwen3-coder-30b-a3b-instruct", "LMStudio/qwen3-vl-8b-instruct", "LMStudio/text-embedding-nomic-embed-text-v1.5", "LMStudio/wizardlm-1.0-uncensored-llama2-13b", "LMStudio/xortron2025"]
|
||||
[]
|
||||
|
||||
Reference in New Issue
Block a user