add retry for structured output
This commit is contained in:
parent
e938bf3e42
commit
bbbf860c39
|
|
@ -129,7 +129,7 @@ if __name__ == "__main__":
|
||||||
shared["target_skills"] = target_skills_to_find
|
shared["target_skills"] = target_skills_to_find
|
||||||
|
|
||||||
# --- Define and Run Flow ---
|
# --- Define and Run Flow ---
|
||||||
parser_node = ResumeParserNode()
|
parser_node = ResumeParserNode(max_retries=3, wait=10)
|
||||||
flow = Flow(start=parser_node)
|
flow = Flow(start=parser_node)
|
||||||
flow.run(shared) # Execute the parsing node
|
flow.run(shared) # Execute the parsing node
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue