Hello. I have a planner node, and I want it accept some runtime args, for example:
def planner_node(state:MainState, args:dict):
pass
This node may make
(1) A fresh plan, without any dependence of previous steps.
(2) A replan, previous steps are done, I want to pass the “uuid” of the replanning step, so that I can find all the informations of previous step.
(3) A plan correction. Some steps fail, I need to replan the single step or cancel the subsequent steps. In this case, I also need args to pass a “UUID”.
I cannot use a tool to do this, because it’s not reliable to pass “uuid” through tool args.
Anyone has some idea? Thanks.