Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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":
|
| 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 |
|