remove output as list

This commit is contained in:
Jason Schleifer
2024-07-22 17:06:53 +12:00
parent 5f22c797d7
commit 193d581ea4
3 changed files with 4 additions and 3 deletions
+2 -1
View File
@@ -116,10 +116,11 @@ class BaseAgent:
if config:
create_dict["config"] = config
elif agent:
config = agent.config
create_dict["config"] = agent.config
# Tools
create_dict["tools"] = self.tool_check(create_dict["config"], tools)
create_dict["tools"] = self.tool_check(config, tools)
# Rulesets
if len(rulesets) > 0:
+1 -1
View File
@@ -19,7 +19,7 @@ class RulesList:
RETURN_TYPES = ("RULESET",)
RETURN_NAMES = ("RULESET",)
FUNCTION = "create"
OUTPUT_IS_LIST = (True,)
# OUTPUT_IS_LIST = (True,)
CATEGORY = "Griptape/Agent Rules"
def create(self, **kwargs):
+1 -1
View File
@@ -19,7 +19,7 @@ class ToolList:
RETURN_TYPES = ("TOOL_LIST",)
RETURN_NAMES = ("TOOL_LIST",)
FUNCTION = "create"
OUTPUT_IS_LIST = (True,)
# OUTPUT_IS_LIST = (True,)
CATEGORY = "Griptape/Agent Tools"