Skip to content

Commit

Permalink
Merge pull request #261 from griptape-ai:fix/node_resize
Browse files Browse the repository at this point in the history
Fix/node_resize
  • Loading branch information
shhlife authored Feb 16, 2025
2 parents 3e1a974 + 1dc7ab7 commit cfa4e5f
Show file tree
Hide file tree
Showing 8 changed files with 15 additions and 5 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Fixed
### Security -->

## [2.2.05] - 2025-17-02
### Fixed
- Fixed an issue where nodes needed to be resized to be displayed properly when being created. This was true for many of the nodes due to a bug in ComfyUI where if you had a string as an input that was set to "forceInput" (like the `input_string` on most nodes), it wouldn't display any multiline text node properly. The fix was to add `multiLine=True` on those `forceInput` nodes as well.. that solves it!

## [2.2.04] - 2025-15-02
### Fixed
- Fixed the LMStudio Embeddings url. Now LMStudio should work with the embedding driver properly.
Expand Down
1 change: 1 addition & 0 deletions nodes/agent/BaseAgent.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ def INPUT_TYPES(cls):
IO.STRING,
{
"forceInput": True,
"multiline": True,
# "dynamicPrompts": True,
"tooltip": "Additional text be appended to the STRING with a newline character.",
},
Expand Down
1 change: 1 addition & 0 deletions nodes/agent/gtUICloudAssistant.py
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,7 @@ def INPUT_TYPES(cls):
"STRING",
{
"forceInput": True,
"multiline": True,
"tooltip": "Additional text be appended to the STRING with a newline character.",
},
),
Expand Down
5 changes: 4 additions & 1 deletion nodes/display/gtUIOutputDataNode.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,10 @@ class gtUIOutputDataNode:

@classmethod
def INPUT_TYPES(cls):
return {"required": {}, "optional": {"INPUT": ("*", {"forceInput": True})}}
return {
"required": {},
"optional": {"INPUT": ("*", {"forceInput": True, "multiline": True})},
}

@classmethod
def VALIDATE_INPUTS(cls, input_types):
Expand Down
2 changes: 1 addition & 1 deletion nodes/display/gtUIOutputStringNode.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ def INPUT_TYPES(cls):
return {
"required": {},
"optional": {
"INPUT": ("STRING", {"forceInput": True}),
"INPUT": ("STRING", {"forceInput": True, "multiline": True}),
"STRING": ("STRING", {"multiline": True}),
},
}
Expand Down
1 change: 1 addition & 0 deletions nodes/tasks/gtUIBaseTask.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ def INPUT_TYPES(cls):
"STRING",
{
"forceInput": True,
"multiline": True,
},
),
"agent": ("AGENT",),
Expand Down
2 changes: 1 addition & 1 deletion nodes/tasks/gtUIVectorStoreQueryTask.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ def INPUT_TYPES(cls):
)
inputs["optional"].update(
{
"input_string": ("STRING", {"forceInput": True}),
"input_string": ("STRING", {"forceInput": True, "multiline": True}),
}
)
return inputs
Expand Down
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "comfyui-griptape"
version = "2.2.04"
version = "2.2.05"
description = "Griptape LLM(Large Language Model) Nodes for ComfyUI."
authors = ["Jason Schleifer <[email protected]>"]
readme = "README.md"
Expand All @@ -9,7 +9,7 @@ readme = "README.md"
[project]
name = "comfyui-griptape"
description = "Griptape LLM(Large Language Model) Nodes for ComfyUI."
version = "2.2.04"
version = "2.2.05"
license = {file = "LICENSE"}
dependencies = ["attrs>=24.3.0,<26.0.0", "openai>=1.58.1,<2.0.0", "griptape[all]>=1.3.1", "python-dotenv", "poetry==1.8.5", "griptape-black-forest @ git+https://github.com/griptape-ai/griptape-black-forest.git", "griptape_serper_driver_extension @ git+https://github.com/mertdeveci5/griptape-serper-driver-extension.git"]

Expand Down

0 comments on commit cfa4e5f

Please sign in to comment.