Skip to content

Commit

Permalink
Merge pull request #156 from griptape-ai:dev
Browse files Browse the repository at this point in the history
Dev
  • Loading branch information
shhlife authored Nov 4, 2024
2 parents 00504ea + ba367ff commit 76e52ac
Show file tree
Hide file tree
Showing 7 changed files with 21 additions and 10 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,9 @@ You can previous and download more examples [here](examples/README.md).

## Recent Changelog

### Nov 5, 2024
* Fixed bug where urls were dropping any text after the `:`. Example: "What is https://griptape.ai" was being converted to "What is https:". This is due to the `dynamicprompt` functionality of ComfyUI, so I've disabled that.

### Nov 4, 2024
* Fixed bug where OPENAI_API_KEY was still required, and was causing some install issues.
* Added video to README with how to manage api keys.
Expand Down
11 changes: 9 additions & 2 deletions js/versions.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,18 @@
export const versions = {
"version": "0.34.0f",
"releaseDate": "2024-11-4",
"version": "0.34.0g",
"releaseDate": "2024-11-5",
"name": "ComfyUI-Griptape",
"description": "Griptape integration for ComfyUI",
"author": "Jason Schleifer",
"repository": "https://github.com/griptape-ai/ComfyUI-Griptape",
"changelog": [
{
"version": "0.34.0g",
"date": "2024-11-5",
"changes": [
"Fixed issue with `dynamicprompt` inputs",
]
},
{
"version": "0.34.0f",
"date": "2024-11-4",
Expand Down
7 changes: 4 additions & 3 deletions nodes/agent/BaseAgent.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,15 +64,15 @@ def INPUT_TYPES(s):
"STRING",
{
"forceInput": True,
"dynamicPrompts": True,
# "dynamicPrompts": True,
"tooltip": "Additional text be appended to the STRING with a newline character.",
},
),
"STRING": (
"STRING",
{
"multiline": True,
"dynamicPrompts": True,
# "dynamicPrompts": True,
"tooltip": "The prompt text.",
},
),
Expand Down Expand Up @@ -148,7 +148,8 @@ def run(self, **kwargs):
tools = kwargs.get("tools", [])
rulesets = kwargs.get("rulesets", [])
input_string = kwargs.get("input_string", None)

print(f"STRING: {STRING=}")
print(f"input_string: {input_string=}")
# Defaults.drivers_config = DriversConfig()
create_dict = {}
# Configuration
Expand Down
2 changes: 1 addition & 1 deletion nodes/agent/gtUIRunAgent.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ def INPUT_TYPES(s):
"inputs": ("*",),
"text": (
"STRING",
{"multiline": True, "dynamicPrompts": True},
{"multiline": True, "dynamicPrompts": False},
),
},
}
Expand Down
2 changes: 1 addition & 1 deletion nodes/rag/gtUITextLoaderRetrievalRagModule.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ def INPUT_TYPES(s):
"STRING",
{
"forceInput": True,
"dynamicPrompts": True,
"dynamicPrompts": False,
"tooltip": "Text to be loaded.",
},
),
Expand Down
2 changes: 1 addition & 1 deletion nodes/text/gtUIInputStringNode.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ def INPUT_TYPES(s):
return {
"required": {},
"optional": {
"STRING": ("STRING", {"multiline": True, "dynamicPrompts": True})
"STRING": ("STRING", {"multiline": True, "dynamicPrompts": False})
},
}

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 = "1.0.17"
version = "1.0.18"
description = "Griptape LLM(Large Language Model) Nodes for ComfyUI."
authors = ["Jason Schleifer <[email protected]>"]
readme = "README.md"
Expand All @@ -26,7 +26,7 @@ priority = "explicit"
[project]
name = "comfyui-griptape"
description = "Griptape LLM(Large Language Model) Nodes for ComfyUI."
version = "1.0.17"
version = "1.0.18"
license = {file = "LICENSE"}
dependencies = ["griptape[all]==0.34.0", "python-dotenv"]

Expand Down

0 comments on commit 76e52ac

Please sign in to comment.