mirror of
https://github.com/microsoft/agent-framework.git
synced 2026-06-16 21:04:09 +08:00
ded17b178c
* Remove Python-only declarative actions and rename alias kinds to C# canonical names * Address PR comments. * Address PR comments. * Reduce verbose and duplicate output from sample workflow.
ded17b178c
ยท
2026-05-28 10:16:22 +00:00
History
Conditional Workflow Sample
This sample demonstrates control flow with conditions:
- If/else branching
- Nested conditions
Files
workflow.yaml- The workflow definitionmain.py- Python code to execute the workflow
Running
python main.py
What It Does
- Takes a user's age as input
- Uses conditions to determine an age category
- Sends appropriate messages based on the category