Skip to content

Commit

Permalink
Merge pull request #146 from griptape-ai:dev
Browse files Browse the repository at this point in the history
Dev
  • Loading branch information
shhlife authored Oct 30, 2024
2 parents 203854d + d1b2aeb commit be0bbe2
Show file tree
Hide file tree
Showing 5 changed files with 30 additions and 12 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,7 @@ You can previous and download more examples [here](examples/README.md).
### Oct 31, 2024
* Added tooltips for all drivers to help clarify properties
* Added fix for Ollama Driver Config so it wouldn't fail if no embedding driver was specified.
* Fix for Convert Agent to Tool node.

### Oct 30, 2024
* Updated to Griptape Framework v0.34.0
Expand Down
26 changes: 18 additions & 8 deletions js/gtUINodes.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,15 +37,25 @@ app.registerExtension({
}
api.addEventListener("comfy.gtUI.runagent", messageHandler);

// app.ui.settings.addSetting({
// id: "griptape.env",
// name: "Griptape environment variables",
// type: "textbox", // "text" is another simple option
// app.ui.settings.addSetting({
// id: "griptape.api_keys.openai_api_key",
// name: "OPENAI_API_KEY",
// type: "textbox", // "text" is another simple option

// defaultValue: "OPENAI_API_KEY=12345",
// /* To listen for changes, add an onChange parameter
// onChange: (newVal, oldVal) => { console.log("Setting got changed!") },
// */
// defaultValue: "123456",
// /* To listen for changes, add an onChange parameter
// onChange: (newVal, oldVal) => { console.log("Setting got changed!") },
// */
// });
// app.ui.settings.addSetting({
// id: "griptape.api_keys.griptape_api_key",
// name: "GRIPTAPE_API_KEY",
// type: "textbox", // "text" is another simple option

// defaultValue: "123456",
// /* To listen for changes, add an onChange parameter
// onChange: (newVal, oldVal) => { console.log("Setting got changed!") },
// */
// });

},
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.0a",
"releaseDate": "2024-10-30",
"version": "0.34.0b",
"releaseDate": "2024-10-31",
"name": "ComfyUI-Griptape",
"description": "Griptape integration for ComfyUI",
"author": "Jason Schleifer",
"repository": "https://github.com/griptape-ai/ComfyUI-Griptape",
"changelog": [
{
"version": "0.34.0b",
"date": "2024-10-31",
"changes": [
"fix convert agent to tool node",
]
},
{
"version": "0.34.0a",
"date": "2024-10-31",
Expand Down
2 changes: 1 addition & 1 deletion nodes/tools/gtUIConvertAgentToTool.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ def run(
):
if agent:
# Create a local structure function
driver = LocalStructureRunDriver(structure_factory_fn=lambda: agent)
driver = LocalStructureRunDriver(create_structure=lambda: agent)
tool = StructureRunTool(
name=to_pascal_case(name),
# name=name,
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ priority = "explicit"
[project]
name = "comfyui-griptape"
description = "Griptape LLM(Large Language Model) Nodes for ComfyUI."
version = "1.0.11"
version = "1.0.12"
license = {file = "LICENSE"}
dependencies = ["griptape[all]==0.34.0", "python-dotenv"]

Expand Down

0 comments on commit be0bbe2

Please sign in to comment.