Update app.py
Browse files
app.py
CHANGED
|
@@ -1021,6 +1021,7 @@ def node_optimizer(state: GameState):
|
|
| 1021 |
refined_logic_data["pseudocode"] = separate_scripts(str(pseudo))
|
| 1022 |
# Step 4: If you want to update the `state` dictionary with the new refined_logic_data
|
| 1023 |
state["pseudo_code"]["refined_logic"] = refined_logic_data
|
|
|
|
| 1024 |
state["action_plan"] = transform_logic_to_action_flow(state["pseudo_code"])
|
| 1025 |
print(f"[The action plan generated here]: { state['action_plan']}")
|
| 1026 |
return state
|
|
|
|
| 1021 |
refined_logic_data["pseudocode"] = separate_scripts(str(pseudo))
|
| 1022 |
# Step 4: If you want to update the `state` dictionary with the new refined_logic_data
|
| 1023 |
state["pseudo_code"]["refined_logic"] = refined_logic_data
|
| 1024 |
+
print(f"[The pseudo_code generated here]: { state['pseudo_code']}")
|
| 1025 |
state["action_plan"] = transform_logic_to_action_flow(state["pseudo_code"])
|
| 1026 |
print(f"[The action plan generated here]: { state['action_plan']}")
|
| 1027 |
return state
|