mirror of
https://github.com/The-Pocket/PocketFlow-Tutorial-Codebase-Knowledge.git
synced 2026-08-29 08:34:31 +08:00
Update flow.py
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user