nikhmr1235 commited on
Commit
2bf78ff
·
verified ·
1 Parent(s): 32aae06

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -380,7 +380,7 @@ async def resume_review(payload: HumanInputPayload):
380
  #global_memory_saver.put_state(current_state_values, {"configurable": {"thread_id": thread_id_state}})
381
 
382
  # Update the state directly
383
- config = {"configurable": {"thread_id": thread_id_state}}
384
  global_graph.update_state(config, current_state_values)
385
  print("graph state updated successfuly with human feedback")
386
 
 
380
  #global_memory_saver.put_state(current_state_values, {"configurable": {"thread_id": thread_id_state}})
381
 
382
  # Update the state directly
383
+ config = {"configurable": {"thread_id": new_thread_id}}
384
  global_graph.update_state(config, current_state_values)
385
  print("graph state updated successfuly with human feedback")
386