add retry for structured output

This commit is contained in:
zachary62
2025-04-18 20:43:24 -04:00
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