Compare commits

..
6 Commits
Author SHA1 Message Date
Thomas 56aa1bef12 changed version from v2.0.0 to v2.0.1 2026-03-16 08:19:52 +01:00
Thomas b4a82be05b Update ta_smart_llm.py
LLM v2.9
- Added fields for temperature and max_tokens

LLM v2.8
- Sorting: Models from the active backend are always at the top

- Reduced waiting time from 2 seconds to 0.5 seconds when the node is inactive
2026-03-16 08:18:43 +01:00
Thomas 7445bc4971 Update pyproject.toml
I changed the license from the incorrectly set MIT entry to Apache 2.0.
2026-03-16 08:16:04 +01:00
Thomas e022b92ef1 Clear all entries in ta_smart_llm_models.json
Removed all model entries from ta_smart_llm_models.json.
2026-03-15 07:26:42 +01:00
Thomas 7d807b5728 Enhance project description for clarity and detail
Updated project description to provide more detail about features and integrations.
2026-03-15 06:35:34 +01:00
Thomas f6633f19e4 Enhance description of TA-ComfyUI-Nodes-Pack
Updated the description to provide more details about the nodes and features included in the pack.
2026-03-15 06:34:54 +01:00
4 changed files with 19 additions and 11 deletions
+2 -2
View File
@@ -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
View File
@@ -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
View File
@@ -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
View File
@@ -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"]
[]