Enhancement: Control Flow Examples and Mapping Workflow Implementation#1
Open
lreynaldoj wants to merge 5 commits intoanthonydevs17:workflow-strategyfrom
Open
Enhancement: Control Flow Examples and Mapping Workflow Implementation#1lreynaldoj wants to merge 5 commits intoanthonydevs17:workflow-strategyfrom
lreynaldoj wants to merge 5 commits intoanthonydevs17:workflow-strategyfrom
Conversation
- Introduced new examples for various control flows: branch, parallel, sequential, do-until, do-while, and foreach. - Created utility functions for block operations including math, parallel, branch, and loop blocks. - Implemented logging and monitoring utilities to track workflow execution and block status. - Enhanced the overall structure and organization of control flow examples for better clarity and usability.
- Removed utility functions for creating blocks and defined blocks directly within each control flow example (branch, parallel, sequential, do-until, do-while, foreach). - Enhanced clarity and maintainability by consolidating block definitions with their respective workflows. - Updated logging for block execution to ensure consistent output across examples.
- Introduced a new example demonstrating a mapping workflow using Cue, featuring multiply and add blocks. - Defined block execution logic directly within the workflow for improved clarity and maintainability. - Implemented logging for block execution to track input and output values during the workflow process.
- Introduced a new example demonstrating a mapping workflow using Cue, featuring multiply and add blocks. - Defined block execution logic directly within the workflow for improved clarity and maintainability. - Implemented logging for block execution to track input and output values during the workflow process.
- Introduced a new example demonstrating a suspend/resume workflow using Cue. - Defined a suspend block that can pause execution and resume after a delay. - Implemented logging to track workflow status and suspended step details. - Enhanced example usage to illustrate the workflow's functionality and error handling.
anthonydevs17
pushed a commit
that referenced
this pull request
Nov 21, 2025
…ption 153 deterministic subscription
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR enhances the workflow-strategy branch with additional control flow examples and implementations:
Changes
Purpose
These changes aim to improve the workflow control capabilities by providing more comprehensive examples and a cleaner implementation approach.
Related PR
This PR contributes to the changes in kaiban-ai#237