ajout boucle refus projet final, TODO : correction QA, verif arborescence mini

This commit is contained in:
Chevallier
2026-07-09 10:23:04 +02:00
parent 37d493ac20
commit 2ded228202
2 changed files with 9 additions and 9 deletions

View File

@@ -12,7 +12,7 @@ from langchain_core.runnables import RunnableConfig
async def pm_node(state: WorkflowState):
history = state.get("chat_history", []) or []
if state.get("status") == "spec_incomplete" and state.get("user_feedback"):
if state.get("status") in ["spec_incomplete", "human_refused"] and state.get("user_feedback"):
current_input = state["user_feedback"]
full_user_input = f"{state['user_input']}\n{current_input}"
else: