Kevin King
c185188af4
Merge branch 'main' into main
2025-02-04 16:25:04 -05:00
TomuHirata
9cf3fadd0f
Add documentation for mlflow tracing integration ( #1988 )
...
Signed-off-by: Tomu Hirata <tomu.hirata@gmail.com >
Co-authored-by: Brandon Hancock (bhancock_ai) <109994880+bhancockio@users.noreply.github.com >
2025-02-04 16:18:50 -05:00
jinx
89c4b3fe88
Correct current year in tasks, to get more up to date results ( #2010 )
...
Co-authored-by: Brandon Hancock (bhancock_ai) <109994880+bhancockio@users.noreply.github.com >
2025-02-04 16:07:22 -05:00
Vidit Ostwal
9e5c599f58
Fixed the memory documentation ( #2031 )
2025-02-04 16:03:38 -05:00
Vidit Ostwal
a950e67c7d
Fixed the documentation ( #2017 )
...
* Fixed the documentation
* Fixed typo, improved description
---------
Co-authored-by: Vidit Ostwal <vidit.ostwal@piramal.com >
Co-authored-by: Brandon Hancock (bhancock_ai) <109994880+bhancockio@users.noreply.github.com >
2025-02-04 12:56:00 -05:00
Tony Kipkemboi
de6933b2d2
Merge pull request #2028 from crewAIInc/brandon/update-litellm-for-o3
...
update litellm to support o3-mini and deepseek. Update docs.
2025-02-04 12:40:36 -05:00
Brandon Hancock
748383d74c
update litellm to support o3-mini and deepseek. Update docs.
2025-02-04 10:58:34 -05:00
Kevin King
1f4d88bb31
Merge branch 'main' into main
2025-01-31 15:35:04 -05:00
Brandon Hancock (bhancock_ai)
23b9e10323
Brandon/provide llm additional params ( #2018 )
...
Mark stale issues and pull requests / stale (push) Has been cancelled
* Clean up to match enterprise
* add additional params to LLM calls
* make sure additional params are getting passed to llm
* update docs
* drop print
2025-01-31 12:53:58 -05:00
Brandon Hancock (bhancock_ai)
ddb7958da7
Clean up to match enterprise ( #2009 )
...
* Clean up to match enterprise
* improve feedback prompting
2025-01-30 18:16:10 -05:00
Kevin King
68d8d10149
Now removed the commented out imports in _import_dependencies, as requested
2025-01-30 13:31:35 -05:00
Kevin King
ddf2bba451
Added an override for the content field from the inheritted BaseFileKnowledgeSource to account for the change in the load_content method to support excel files with multiple tabs/sheets. This change should ensure it passes the type check test, as it failed before since content was assigned a different type in BaseFileKnowledgeSource
2025-01-30 13:23:58 -05:00
Lorenze Jay
8a8698e539
Merge branch 'main' into main
2025-01-30 09:07:41 -08:00
Brandon Hancock (bhancock_ai)
477cce321f
Fix llms ( #2003 )
...
* iwp
* add in api_base
---------
Co-authored-by: Lorenze Jay <63378463+lorenzejay@users.noreply.github.com >
2025-01-29 19:41:09 -05:00
Brandon Hancock (bhancock_ai)
7bed63a693
Bugfix/fix broken training ( #1993 )
...
* Fixing training while refactoring code
* improve prompts
* make sure to raise an error when missing training data
* Drop comment
* fix failing tests
* add clear
* drop bad code
* fix failing test
* Fix type issues pointed out by lorenze
* simplify training
2025-01-29 19:11:14 -05:00
Lorenze Jay
2709a9205a
fixes interpolation issues when inputs are type dict,list specificall… ( #1992 )
...
* fixes interpolation issues when inputs are type dict,list specifically when defined on expected_output
* improvements with type hints, doc fixes and rm print statements
* more tests
* test passing
---------
Co-authored-by: Brandon Hancock <brandon@brandonhancock.io >
2025-01-29 13:24:50 -05:00
Daniel Barreto
d19d7b01ec
docs: add a "Human Input" row to the Task Attributes table ( #1999 )
2025-01-29 10:11:48 -05:00
Lorenze Jay
a3ad2c1957
fix breakage when cloning agent/crew using knowledge_sources and enable custom knowledge_storage ( #1927 )
...
* fix breakage when cloning agent/crew using knowledge_sources
* fixed typo
* better
* ensure use of other knowledge storage works
* fix copy and custom storage
* added tests
* normalized name
* updated cassette
* fix test
* remove fixture
* fixed test
* fix
* add fixture to this
* add fixture to this
* patch twice since
* fix again
* with fixtures
* better mocks
* fix
* simple
* try
* another
* hopefully fixes test
* hopefully fixes test
* this should fix it !
* WIP: test check with prints
* try this
* exclude knowledge
* fixes
* just drop clone for now
* rm print statements
* printing agent_copy
* checker
* linted
* cleanup
* better docs
---------
Co-authored-by: Brandon Hancock (bhancock_ai) <109994880+bhancockio@users.noreply.github.com >
2025-01-29 09:37:22 -05:00
Paul Nugent
c3e7a3ec19
Merge pull request #1991 from crewAIInc/feat/update-litellm-for-deepseek-support
...
update litellm for deepseek
2025-01-28 17:32:05 +00:00
Brandon Hancock
cba8c9faec
update litellm
2025-01-28 12:23:06 -05:00
Brandon Hancock (bhancock_ai)
bcb7fb27d0
Fix ( #1990 )
...
* Fix
* drop failing files
2025-01-28 11:54:53 -05:00
João Moura
c310044bec
preparing new version
0.100.0
2025-01-28 10:29:53 -03:00
Brandon Hancock (bhancock_ai)
5263df24b6
quick fix for mike ( #1987 )
2025-01-27 17:41:26 -05:00
Brandon Hancock (bhancock_ai)
dea6ed7ef0
fix issue pointed out by mike ( #1986 )
...
* fix issue pointed out by mike
* clean up
* Drop logger
* drop unused imports
2025-01-27 17:35:17 -05:00
Kevin King
a6330d0017
Merge branch 'main' into main
2025-01-27 17:17:14 -05:00
Brandon Hancock (bhancock_ai)
d3a0dad323
Bugfix/litellm plus generic exceptions ( #1965 )
...
* wip
* More clean up
* Fix error
* clean up test
* Improve chat calling messages
* crewai chat improvements
* working but need to clean up
* Clean up chat
2025-01-27 13:41:46 -08:00
devin-ai-integration[bot]
67bf4aea56
Add version check to crew_chat.py ( #1966 )
...
* Add version check to crew_chat.py with min version 0.98.0
Co-Authored-By: brandon@crewai.com <brandon@crewai.com >
* Fix import sorting in crew_chat.py
Co-Authored-By: brandon@crewai.com <brandon@crewai.com >
* Fix import sorting in crew_chat.py (attempt 3)
Co-Authored-By: brandon@crewai.com <brandon@crewai.com >
* Update error message, add version check helper, fix import sorting
Co-Authored-By: brandon@crewai.com <brandon@crewai.com >
* Fix import sorting with Ruff auto-fix
Co-Authored-By: brandon@crewai.com <brandon@crewai.com >
* Remove poetry check and import comment headers in crew_chat.py
Co-Authored-By: brandon@crewai.com <brandon@crewai.com >
---------
Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Co-authored-by: brandon@crewai.com <brandon@crewai.com >
2025-01-24 17:04:41 -05:00
Brandon Hancock (bhancock_ai)
8c76bad50f
Fix litellm issues to be more broad ( #1960 )
...
* Fix litellm issues to be more broad
* Fix tests
2025-01-23 23:32:10 -05:00
Bobby Lindsey
e27a15023c
Add SageMaker as a LLM provider ( #1947 )
...
* Add SageMaker as a LLM provider
* Removed unnecessary constants; updated docs to align with bootstrap naming convention
---------
Co-authored-by: Brandon Hancock (bhancock_ai) <109994880+bhancockio@users.noreply.github.com >
2025-01-22 14:55:24 -05:00
Brandon Hancock (bhancock_ai)
a836f466f4
Updated calls and added tests to verify ( #1953 )
...
* Updated calls and added tests to verify
* Drop unused import
2025-01-22 14:36:15 -05:00
Brandon Hancock (bhancock_ai)
67f0de1f90
Bugfix/kickoff hangs when llm call fails ( #1943 )
...
* Wip to address https://github.com/crewAIInc/crewAI/issues/1934
* implement proper try / except
* clean up PR
* add tests
* Fix tests and code that was broken
* mnore clean up
* Fixing tests
* fix stop type errors]
* more fixes
2025-01-22 14:24:00 -05:00
Tony Kipkemboi
c642ebf97e
docs: improve formatting and clarity in CLI and Composio Tool docs ( #1946 )
...
* docs: improve formatting and clarity in CLI and Composio Tool docs
- Add Terminal label to shell code blocks in CLI docs
- Update Composio Tool title and fix tip formatting
* docs: improve installation guide with virtual environment details
- Update Python version requirements and commands
- Add detailed virtual environment setup instructions
- Clarify project-specific environment activation steps
- Streamline additional tools installation with UV
* docs: simplify installation guide
- Remove redundant virtual environment instructions
- Simplify project creation steps
- Update UV package manager description
2025-01-22 10:30:16 -05:00
Kevin King
5815317bd0
Merge branch 'main' into main
2025-01-21 12:05:26 -05:00
Brandon Hancock (bhancock_ai)
a21e310d78
add docs for crewai chat ( #1936 )
...
* add docs for crewai chat
* add version number
2025-01-21 11:10:25 -05:00
Abhishek Patil
aba68da542
feat: add Composio docs ( #1904 )
...
* feat: update Composio tool docs
* Update composiotool.mdx
* fix: minor changes
---------
Co-authored-by: Brandon Hancock (bhancock_ai) <109994880+bhancockio@users.noreply.github.com >
2025-01-21 11:03:37 -05:00
Kevin King
f4660aeae6
Merge branch 'main' into main
2025-01-21 09:59:40 -05:00
Sanjeed
e254f11933
Fix wrong llm value in example ( #1929 )
...
Original example had `mixtal-llm` which would result in an error.
Replaced with gpt-4o according to https://docs.crewai.com/concepts/llms
2025-01-21 02:55:27 -03:00
Kevin King
d7c9c4048b
Merge branch 'main' into main
2025-01-20 11:36:11 -05:00
João Moura
ab2274caf0
Stateful flows ( #1931 )
...
* fix: ensure persisted state overrides class defaults
- Remove early return in Flow.__init__ to allow proper state initialization
- Add test_flow_default_override.py to verify state override behavior
- Fix issue where default values weren't being overridden by persisted state
Fixes the issue where persisted state values weren't properly overriding
class defaults when restarting a flow with a previously saved state ID.
Co-Authored-By: Joe Moura <joao@crewai.com >
* test: improve state restoration verification with has_set_count flag
Co-Authored-By: Joe Moura <joao@crewai.com >
* test: add has_set_count field to PoemState
Co-Authored-By: Joe Moura <joao@crewai.com >
* refactoring test
* fix: ensure persisted state overrides class defaults
- Remove early return in Flow.__init__ to allow proper state initialization
- Add test_flow_default_override.py to verify state override behavior
- Fix issue where default values weren't being overridden by persisted state
Fixes the issue where persisted state values weren't properly overriding
class defaults when restarting a flow with a previously saved state ID.
Co-Authored-By: Joe Moura <joao@crewai.com >
* test: improve state restoration verification with has_set_count flag
Co-Authored-By: Joe Moura <joao@crewai.com >
* test: add has_set_count field to PoemState
Co-Authored-By: Joe Moura <joao@crewai.com >
* refactoring test
* Fixing flow state
* fixing peristed stateful flows
* linter
* type fix
---------
Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Co-authored-by: Joe Moura <joao@crewai.com >
0.98.0
2025-01-20 13:30:09 -03:00
Kevin King
ab8c2699c9
Merge branch 'main' into main
2025-01-19 11:02:45 -05:00
devin-ai-integration[bot]
3e4f112f39
feat: add colored logging for flow operations ( #1923 )
...
* feat: add colored logging for flow operations
- Add flow_id property for easy ID access
- Add yellow colored logging for flow start
- Add bold_yellow colored logging for state operations
- Implement consistent logging across flow lifecycle
Co-Authored-By: Joe Moura <joao@crewai.com >
* fix: sort imports to fix lint error
Co-Authored-By: Joe Moura <joao@crewai.com >
* feat: improve flow logging and error handling
- Add centralized logging method for flow events
- Add robust error handling in persistence decorator
- Add consistent log messages and levels
- Add color-coded error messages
Co-Authored-By: Joe Moura <joao@crewai.com >
* fix: sort imports and improve error handling
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 >
Co-authored-by: João Moura <joaomdmoura@gmail.com >
2025-01-19 05:50:30 -03:00
João Moura
cc018bf128
updating tools version
2025-01-19 00:36:19 -08:00
devin-ai-integration[bot]
46d3e4d4d9
docs: add flow persistence section ( #1922 )
...
Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Co-authored-by: Joe Moura <joao@crewai.com >
2025-01-19 04:34:58 -03:00
Dergky
8e8d224b7c
accidentally didn't delete the old load_content() function in last commit - corrected this
2025-01-18 18:51:39 -05:00
Dergky
1002af8a31
updated load_content() function in excel_knowledge_source.py to reduce memory usage and provide better documentation
2025-01-18 18:19:05 -05:00
Kevin King
bda9e34c57
Merge branch 'main' into main
2025-01-18 18:05:13 -05:00
Dergky
eec0d227a9
Updated excel_knowledge_source.py to account for excel sheets that have multiple tabs. The old implementation contained a single df=pd.read_excel(excel_file_path), which only reads the first or most recently used excel sheet. The updated functionality reads all sheets in the excel workbook.
2025-01-18 18:02:51 -05:00
Brandon Hancock (bhancock_ai)
627bb3f5f6
Brandon/new release cleanup ( #1918 )
...
* WIP
* fixes to match enterprise changes
2025-01-18 15:46:41 -03:00
João Moura
4a44245de9
preparing new verison
2025-01-18 10:18:56 -08:00
Brandon Hancock (bhancock_ai)
30d027158a
Fix union issue that Daniel was running into ( #1910 )
2025-01-16 15:54:16 -05:00