remove output as list
This commit is contained in:
@@ -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:
|
||||
|
||||
@@ -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):
|
||||
|
||||
@@ -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"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user