minor update for reliability
This commit is contained in:
parent
21d7580b37
commit
985973ca6b
|
|
@ -3,8 +3,8 @@ from nodes import ChainOfThoughtNode
|
||||||
|
|
||||||
def create_chain_of_thought_flow():
|
def create_chain_of_thought_flow():
|
||||||
# Create a ChainOfThoughtNode
|
# Create a ChainOfThoughtNode
|
||||||
cot_node = ChainOfThoughtNode()
|
cot_node = ChainOfThoughtNode(max_retries=3, wait=10)
|
||||||
# max_retries=3, wait=10
|
|
||||||
# Connect the node to itself for the "continue" action
|
# Connect the node to itself for the "continue" action
|
||||||
cot_node - "continue" >> cot_node
|
cot_node - "continue" >> cot_node
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue