forked from crewAIInc/crewAI
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add unique ID to flow states (crewAIInc#1888)
* feat: add unique ID to flow states - Add FlowState base model with UUID field - Update type variable T to use FlowState - Ensure all states (structured and unstructured) get UUID - Fix type checking in _create_initial_state method Co-Authored-By: Joe Moura <joao@crewai.com> * docs: update documentation to reflect automatic UUID generation in flow states Co-Authored-By: Joe Moura <joao@crewai.com> * fix: sort imports in flow.py Co-Authored-By: Joe Moura <joao@crewai.com> * fix: sort imports according to PEP 8 Co-Authored-By: Joe Moura <joao@crewai.com> * fix: auto-fix import sorting with ruff Co-Authored-By: Joe Moura <joao@crewai.com> * test: add comprehensive tests for flow state UUID functionality Co-Authored-By: Joe Moura <joao@crewai.com> --------- Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> Co-authored-by: Joe Moura <joao@crewai.com>
- Loading branch information
1 parent
3de81ce
commit 75e68f6
Showing
3 changed files
with
165 additions
and
17 deletions.
There are no files selected for viewing
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
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
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