Spaces:
Sleeping
Sleeping
bug fix for AttributeError: 'CompiledStateGraph' object has no attribute 'compile'
Browse files
src/langgraph_logic/graph.py
CHANGED
|
@@ -27,9 +27,8 @@ def create_graph():
|
|
| 27 |
workflow.add_edge("post_code_review", "update_review_with_human_feedback")
|
| 28 |
workflow.add_edge("update_review_with_human_feedback", END)
|
| 29 |
|
| 30 |
-
#
|
| 31 |
-
|
| 32 |
-
return app
|
| 33 |
|
| 34 |
# To make it runnable for debugging or direct invocation
|
| 35 |
if __name__ == "__main__":
|
|
|
|
| 27 |
workflow.add_edge("post_code_review", "update_review_with_human_feedback")
|
| 28 |
workflow.add_edge("update_review_with_human_feedback", END)
|
| 29 |
|
| 30 |
+
# The compilation with the checkpointer is now handled in app.py
|
| 31 |
+
return workflow
|
|
|
|
| 32 |
|
| 33 |
# To make it runnable for debugging or direct invocation
|
| 34 |
if __name__ == "__main__":
|