Agent Zero AI framework
Update response.py
frdelac51f419530e
diff --git a/python/tools/response.py b/python/tools/response.pyindex 629b56815..ab97669bd 100644--- a/python/tools/response.py+++ b/python/tools/response.py@@ -4,7 +4,7 @@ from python.helpers.tool import Tool, Responseclass ResponseTool(Tool):async def execute(self, **kwargs):- return Response(message=self.args["message"] if "message" in self.args else self.args["text"], break_loop=True)+ return Response(message=self.args["text"] if "text" in self.args else self.args["message"], break_loop=True)async def before_execution(self, **kwargs):# self.log = self.agent.context.log.log(type="response", heading=f"{self.agent.agent_name}: Responding", content=self.args.get("text", ""))