-
Notifications
You must be signed in to change notification settings - Fork 80
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature: Sequential and hierarchy tasks execution - Included STOP/PAUSE/RESUME features from anthonydevs17 #199
Open
ernestocarrasco
wants to merge
27
commits into
kaiban-ai:workflows-v2
Choose a base branch
from
ernestocarrasco:153-integration-pause-stop
base: workflows-v2
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Conversation
This file contains 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
- Added a 'Stop Workflow' button in AgentsBoardDebugger component. - Introduced a stop method in the Team class to halt the workflow and update the state. - Updated ReactChampionAgent to handle the STOPPED status during workflow execution. - Enhanced workflowController to clear the task queue when the workflow is stopped.
… functionalities - Added handlePauseResume and handleStop methods in AgentWithToolPreviewer for managing team workflow states. - Introduced new buttons for pause/resume and stop actions in the UI, with appropriate disabling logic based on workflow status. - Updated Team class to handle stopping workflows more robustly, including abort handling in ReactChampionAgent. - Enhanced error handling for task abortion and logging for better debugging and user feedback. - Introduced AbortError class to manage operation interruptions effectively.
…se-and-resume-agents-workflow
- Adjusted the table formatting in README.md for the tools package to enhance clarity and consistency. - Ensured proper alignment of tool descriptions and documentation links for improved user experience.
…se-and-resume-agents-workflow
…esume, and stop methods - Refactored Team class methods (pause, resume, stop) to utilize new workflow management functions directly from the store, improving code clarity and reducing redundancy. - Updated ReactChampionAgent to track the last feedback message and handle task execution more effectively, including abort handling. - Introduced new error classes (StopAbortError, PauseAbortError) for better error management during workflow interruptions. - Enhanced task logging for aborted tasks, capturing relevant statistics and error details for improved debugging. - Integrated workflow action enums to standardize workflow control actions across the application.
…edbackMessage fields - Added `currentIterations` and `lastFeedbackMessage` fields to various agent instances across multiple test snapshots, enhancing the state tracking of agents during workflows. - Ensured consistency in the agent configurations for improved testing accuracy and reliability. - Updated snapshots for `customLLMs`, `llmProxy`, `outputSchemaTeam`, `productSpecTeam`, `resumeCreationTeam`, `sportNewsTeam`, and `tripPlanningTeam` to reflect these changes.
- Cleaned up the README.md by removing an unnecessary newline before the Compatibility section, improving the overall formatting and readability of the document.
…d refactor task management - Added new ESLint rules to disable focused and disabled tests in Jest. - Updated Jest configuration to specify a test match pattern. - Introduced a new dependency, `dependency-graph`, in package.json and package-lock.json. - Refactored task management in the application by adding a TaskManager for better task lifecycle handling. - Enhanced task and team store functionalities to support new task status updates and flow types. - Removed the workflow controller as part of the task management refactor. Related GH Issue: kaiban-ai#153
…LMEnd method - Eliminated the unnecessary check for PAUSED workflow status in the handleLLMEnd method of ReactChampionAgent, streamlining the task handling process. - This change enhances the agent's responsiveness during task execution by allowing it to proceed without being blocked by the workflow status.
…status management - Introduced a new `handleAgentTaskPaused` method to manage agent status when tasks are paused, improving workflow control during interruptions. - Updated `handleTaskAborted` and `handleTaskPaused` methods to log task status changes and relevant error details, enhancing debugging capabilities. - Refactored task status management to include a new PAUSED state for both agents and tasks, allowing for better tracking of workflow interruptions. - Enhanced error handling in the workflow loop to ensure proper task management during pauses, improving overall system reliability.
- Updated taskSubscriber.js to include the PAUSED state in the subscribeTaskStatusUpdates function, enhancing task status management. - This change aligns with recent enhancements to workflow control, allowing for better tracking of tasks during interruptions.
…orkflow' into 153-tasks-chaining-sequential-hierarchy
- Integrated ChatMessageHistory into agent instances for improved interaction tracking. - Updated agent status management to reset interactions history and feedback upon workflow reset. - Added functionality to start the task queue if paused, ensuring smoother workflow execution. - Removed redundant clearAgentLoopState method from workflow loop store, streamlining state management. - Improved overall task handling and agent responsiveness during workflow interruptions.
…arious workflows - Enhanced snapshot files for `llmProxy`, `outputSchemaTeam`, `productSpecTeam`, `resumeCreationTeam`, `sportNewsTeam`, and `tripPlanningTeam` to include comprehensive `lastFeedbackMessage` fields. - Updated messages to reflect specific tasks and expected outputs, improving clarity and context for each workflow scenario. - Ensured consistency in agent configurations across multiple test snapshots, enhancing the accuracy of state tracking during workflows.
… taskQueue in the store
… taskQueue in the store
…/anthonydevs17/KaibanJS into 153-integration-pause-stop
…entLoopState function
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.
Related GH Issue: #153