text: Any]:        """Run the agent."""        objective = inputs["objective"]        first_task = inputs.get("first_task", "Make a todo list")        self.add_task({"task_id": 1, "task_name": first_task})        num_iters = 0        while True:            if self.task_list:                self.print_task_list()                # Step 1: Pull the first task                task = self.task_list.popleft()                self.print_next_task(task)                # Step 2: Execute the task                result = execute_task(                    self.vectorstore, self.execution_chain, objective, task["task_name"]                )                this_task_id = int(task["task_id"])                self.print_task_result(result)                # Step 3: Store the result in Pinecone                result_id = f"result_{task['task_id']}"