Skip to content

Commit c3899c5

Browse files
committed
fixed: interrupt calling fixed
1 parent d95f1d0 commit c3899c5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

allinone.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,7 @@ def delete_request(state:AgentState,config:RunnableConfig):
233233
return "tools"
234234

235235
def confirm_delete(state:AgentState):
236-
answer=langgraph.prebuilt.interrupt("Are you sure you want to delete this expense? Reply yes or no")
236+
answer=interrupt("Are you sure you want to delete this expense? Reply yes or no")
237237
confirmed=(answer.lower().strip()=="yes")
238238

239239
return {"confirmed":confirmed}

0 commit comments

Comments
 (0)