Skip to content

Instantly share code, notes, and snippets.

@elijahbenizzy
Last active December 22, 2024 23:09
Show Gist options
  • Save elijahbenizzy/2eb47aee2bde4c02d87c60ec04b6cfc5 to your computer and use it in GitHub Desktop.
Save elijahbenizzy/2eb47aee2bde4c02d87c60ec04b6cfc5 to your computer and use it in GitHub Desktop.
app = (
ApplicationBuilder()
.with_actions(user_input, final_results, generate_all_poems=GenerateAllPoems())
.with_transitions(
("user_input", "generate_all_poems"),
("generate_all_poems", "final_results"),
)
.with_tracker(project="demo:parallel_agents")
.with_entrypoint("user_input")
.build()
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment