Merge pull request #280 from griptape-ai:277-claude-qualitydisplay-text-decreased
reverted Display Text node and added Display Text as Markdown.
This commit is contained in:
@@ -14,6 +14,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
||||
### Fixed
|
||||
### Security -->
|
||||
|
||||
## [2.2.12] - 2025-01-03
|
||||
### Added
|
||||
- Added `Griptape Display: Text as Markdown` node.
|
||||
### Changed
|
||||
- Reverted the `Griptape Display: Text` node back to just displaying text.
|
||||
|
||||

|
||||
|
||||
## [2.2.11] - 2025-28-02
|
||||
### Added
|
||||
- Added `min_p` and/or `top_k` to prompt drivers that support them.
|
||||
|
||||
@@ -77,6 +77,7 @@ from .nodes.custom_routes import init_routes
|
||||
from .nodes.display.gtUIOutputDataNode import gtUIOutputDataNode
|
||||
from .nodes.display.gtUIOutputDictionaryNode import gtUIOutputDictionaryNode
|
||||
from .nodes.display.gtUIOutputImageNode import gtUIOutputImageNode
|
||||
from .nodes.display.gtUIOutputMarkdownNode import gtUIOutputMarkdownNode
|
||||
from .nodes.display.gtUIOutputStringNode import gtUIOutputStringNode
|
||||
|
||||
# DRIVERS
|
||||
@@ -465,6 +466,7 @@ NODE_CLASS_MAPPINGS = {
|
||||
# DISPLAY
|
||||
"Griptape Display: Image": gtUIOutputImageNode,
|
||||
"Griptape Display: Text": gtUIOutputStringNode,
|
||||
"Griptape Display: Text as Markdown": gtUIOutputMarkdownNode,
|
||||
"Griptape Display: Data as Text": gtUIOutputDataNode,
|
||||
"Griptape Display: Dictionary": gtUIOutputDictionaryNode,
|
||||
# AUDIO
|
||||
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 313 KiB |
+4
-1
@@ -4,7 +4,10 @@ import { formatAndDisplayJSON } from "./gtUIUtils.js";
|
||||
export function setupDisplayNodes(nodeType, nodeData, app) {
|
||||
if (nodeData.name === "Griptape Display: Artifact") {
|
||||
setupArtifactDisplayNode(nodeType, nodeData, app);
|
||||
} else if (nodeData.name === "Griptape Display: Text") {
|
||||
} else if (
|
||||
nodeData.name === "Griptape Display: Text" ||
|
||||
nodeData.name === "Griptape Display: Text as Markdown"
|
||||
) {
|
||||
setupTextDisplayNode(nodeType, nodeData, app);
|
||||
} else if (nodeData.name === "Griptape Display: Data as Text") {
|
||||
setupDataAsTextDisplayNode(nodeType, nodeData, app);
|
||||
|
||||
@@ -0,0 +1,12 @@
|
||||
from .gtUIOutputStringNode import gtUIOutputStringNode
|
||||
|
||||
|
||||
class gtUIOutputMarkdownNode(gtUIOutputStringNode):
|
||||
NAME = "Griptape Display: Text as Markdown"
|
||||
DESCRIPTION = "Display string output as Markdown"
|
||||
|
||||
@classmethod
|
||||
def INPUT_TYPES(cls):
|
||||
inputs = super().INPUT_TYPES()
|
||||
inputs["optional"]["STRING"] = ("MARKDOWN", {"multiline": True})
|
||||
return inputs
|
||||
@@ -9,7 +9,7 @@ class gtUIOutputStringNode:
|
||||
"required": {},
|
||||
"optional": {
|
||||
"INPUT": ("STRING", {"forceInput": True, "multiline": True}),
|
||||
"STRING": ("MARKDOWN", {"multiline": True}),
|
||||
"STRING": ("STRING", {"multiline": True}),
|
||||
},
|
||||
}
|
||||
|
||||
|
||||
+2
-2
@@ -1,6 +1,6 @@
|
||||
[tool.poetry]
|
||||
name = "comfyui-griptape"
|
||||
version = "2.2.11"
|
||||
version = "2.2.12"
|
||||
description = "Griptape LLM(Large Language Model) Nodes for ComfyUI."
|
||||
authors = ["Jason Schleifer <jason.schleifer@gmail.com>"]
|
||||
readme = "README.md"
|
||||
@@ -9,7 +9,7 @@ readme = "README.md"
|
||||
[project]
|
||||
name = "comfyui-griptape"
|
||||
description = "Griptape LLM(Large Language Model) Nodes for ComfyUI."
|
||||
version = "2.2.11"
|
||||
version = "2.2.12"
|
||||
license = {file = "LICENSE"}
|
||||
dependencies = ["attrs>=24.3.0,<26.0.0", "openai>=1.58.1,<2.0.0", "griptape[all]>=1.4.0", "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"]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user