Update flow.py

This commit is contained in:
Zachary Huang
2025-04-22 08:38:36 -04:00
committed by GitHub
parent 358f87985f
commit 0f4152cc16
+5 -5
View File
@@ -14,10 +14,10 @@ def create_tutorial_flow():
# Instantiate nodes # Instantiate nodes
fetch_repo = FetchRepo() fetch_repo = FetchRepo()
identify_abstractions = IdentifyAbstractions(max_retries=3, wait=10) identify_abstractions = IdentifyAbstractions(max_retries=5, wait=20)
analyze_relationships = AnalyzeRelationships(max_retries=3, wait=10) analyze_relationships = AnalyzeRelationships(max_retries=5, wait=20)
order_chapters = OrderChapters(max_retries=3, wait=10) order_chapters = OrderChapters(max_retries=5, wait=20)
write_chapters = WriteChapters(max_retries=3, wait=10) # This is a BatchNode write_chapters = WriteChapters(max_retries=5, wait=20) # This is a BatchNode
combine_tutorial = CombineTutorial() combine_tutorial = CombineTutorial()
# Connect nodes in sequence based on the design # Connect nodes in sequence based on the design
@@ -30,4 +30,4 @@ def create_tutorial_flow():
# Create the flow starting with FetchRepo # Create the flow starting with FetchRepo
tutorial_flow = Flow(start=fetch_repo) tutorial_flow = Flow(start=fetch_repo)
return tutorial_flow return tutorial_flow