set max_len of truncate string to 100000

This commit is contained in:
bedovyy
2026-06-23 03:37:37 +09:00
parent 0496b7b072
commit 2fe4e92e8d
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -34,7 +34,7 @@ class PreviewAnyStorable(io.ComfyNode):
return ["stored"] if output_value[0] else ["source"]
@staticmethod
def _truncate_nested_strings(obj, max_len=1000, keep_len=20):
def _truncate_nested_strings(obj, max_len=100000, keep_len=20):
if isinstance(obj, dict):
return {k: PreviewAnyStorable._truncate_nested_strings(v, max_len, keep_len) for k, v in obj.items()}
elif isinstance(obj, list):
+1 -1
View File
@@ -1,7 +1,7 @@
[project]
name = "ComfyUI-LLM-Helper"
description = "A custom nodes for LLM API"
version = "1.0.2" # Custom Node version. Must be semantically versioned.
version = "1.0.4" # Custom Node version. Must be semantically versioned.
license = { file = "LICENSE" }
dependencies = [
"python-dotenv"