Merge pull request #156 from griptape-ai:dev

Dev
This commit is contained in:
Jason Schleifer
2024-11-04 10:25:49 -08:00
committed by GitHub
7 changed files with 21 additions and 10 deletions
+3
View File
@@ -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.
+9 -2
View File
@@ -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",
+4 -3
View File
@@ -64,7 +64,7 @@ class BaseAgent:
"STRING",
{
"forceInput": True,
"dynamicPrompts": True,
# "dynamicPrompts": True,
"tooltip": "Additional text be appended to the STRING with a newline character.",
},
),
@@ -72,7 +72,7 @@ class BaseAgent:
"STRING",
{
"multiline": True,
"dynamicPrompts": True,
# "dynamicPrompts": True,
"tooltip": "The prompt text.",
},
),
@@ -148,7 +148,8 @@ class BaseAgent:
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
+1 -1
View File
@@ -50,7 +50,7 @@ class gtUIRunAgent:
"inputs": ("*",),
"text": (
"STRING",
{"multiline": True, "dynamicPrompts": True},
{"multiline": True, "dynamicPrompts": False},
),
},
}
@@ -31,7 +31,7 @@ class gtUITextLoaderRetrievalRagModule(gtUIBaseRetrievalRagModule):
"STRING",
{
"forceInput": True,
"dynamicPrompts": True,
"dynamicPrompts": False,
"tooltip": "Text to be loaded.",
},
),
+1 -1
View File
@@ -18,7 +18,7 @@ class gtUIInputStringNode:
return {
"required": {},
"optional": {
"STRING": ("STRING", {"multiline": True, "dynamicPrompts": True})
"STRING": ("STRING", {"multiline": True, "dynamicPrompts": False})
},
}
+2 -2
View File
@@ -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 <jason.schleifer@gmail.com>"]
readme = "README.md"
@@ -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"]