text: self.print_task_result(result)                # Step 3: Store the result in Pinecone                result_id = f"result_{task['task_id']}"                self.vectorstore.add_texts(                    texts=[result],                    metadatas=[{"task": task["task_name"]}],                    ids=[result_id],                )                # Step 4: Create new tasks and reprioritize task list                new_tasks = get_next_task(                    self.task_creation_chain,                    result,                    task["task_name"],                    [t["task_name"] for t in self.task_list],                    objective,                )                for new_task in new_tasks: