ajout boucle refus projet final, TODO : correction QA, verif arborescence mini
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user