Commit Graph

1355 Commits

Author SHA1 Message Date
Lorenze Jay
e4df956bea Merge branch 'main' into feat/individual-react-agent 2025-04-01 12:08:40 -07:00
theadityarao
b0f9637662 fix documentation for "Using Crews and Flows Together" (#2490)
* Update README.md

* Update README.md

* Update README.md

* Update README.md

---------

Co-authored-by: Lorenze Jay <63378463+lorenzejay@users.noreply.github.com>
2025-04-01 10:31:22 -07:00
Lucas Gomide
63ef3918dd feat: cleanup Pydantic warning (#2507)
A several warnings were addressed following by  https://docs.pydantic.dev/2.10/migration
2025-04-01 08:45:45 -07:00
Lorenze Jay
01ebf802e3 Refactor agent tests by removing outdated test cases and updating YAML cassettes to reflect changes in tool usage and response formats. Adjusted request and response headers, including user agent and content length, for improved accuracy in testing. Enhanced interaction formats for consistency across tests. 2025-03-31 17:00:54 -07:00
Lorenze Jay
4856c4a685 Update tool usage logging to store tool arguments as native types instead of strings, enhancing data integrity and usability. 2025-03-31 16:51:18 -07:00
Lorenze Jay
bfcc228bc3 Update YAML cassette for LLM tests to reflect changes in response structure and model version. Adjusted request and response headers, including updated content length and user agent. Enhanced token limits and request counts for improved testing accuracy. 2025-03-31 16:46:39 -07:00
Lorenze Jay
802a4d079f Update tool usage logging to ensure tool arguments are consistently formatted as strings. Adjust agent test cases to reflect changes in maximum iterations and expected outputs, enhancing clarity in assertions. Update YAML cassettes to align with new response formats and improve overall consistency across tests. 2025-03-31 16:42:51 -07:00
Lorenze Jay
570c7845fa Refactor agent tests to update model versions and improve response formatting in YAML cassettes. Changed model references from 'o1-preview' to 'o3-mini' and adjusted interaction formats for consistency. Enhanced error handling in context length tests and refined mock setups for better clarity. 2025-03-31 16:17:25 -07:00
Lorenze Jay
8f5d6f720d Update agent tests to reflect changes in expected call counts and improve response formatting in YAML cassette. Adjusted mock call count from 2 to 3 and refined interaction formats for clarity and consistency. 2025-03-31 15:34:13 -07:00
Lorenze Jay
99614f83e0 Enhance tests in crew_test.py by verifying cache behavior in test_tools_with_custom_caching and ensuring proper agent initialization with added commas in test_crew_kickoff_for_each_works_with_manager_agent_copy. 2025-03-31 15:29:07 -07:00
Lorenze Jay
288afba5fa Refactor agent_utils.py by removing unused event imports and adding missing commas in function definitions. Update test_events.py to reflect changes in expected event counts and adjust assertions accordingly. Modify test_tools_emits_error_events.yaml to include new headers and update response content for consistency with recent API changes. 2025-03-31 15:21:44 -07:00
Lorenze Jay
b8d871e795 Merge branch 'main' of github.com:crewAIInc/crewAI into feat/individual-react-agent 2025-03-31 12:21:41 -07:00
Lorenze Jay
4deff49b70 Add initialization for 'result' variable in ToolUsage class to resolve type-checker warnings 2025-03-31 12:20:16 -07:00
Lorenze Jay
08f0fc2285 Remove unused variable 'result' from ToolUsage class to clean up code. 2025-03-31 12:16:11 -07:00
Lorenze Jay
7107224fa9 Remove deprecated test files and examples for LiteAgent; add comprehensive tests for LiteAgent functionality, including tool usage and structured output handling. 2025-03-31 12:13:25 -07:00
Lorenze Jay
a00eaa4732 Remove unused parameters from ToolUsage instantiation in tests and clean up debug print statement in CrewAgentParser. 2025-03-31 11:52:20 -07:00
Lorenze Jay
347ff85180 Add optional agent parameter to CrewAgentParser and enhance action handling logic 2025-03-31 10:29:04 -07:00
Lorenze Jay
48b10600d3 Fix type-checker issue by adding type ignore comment for cache read in ToolUsage class 2025-03-31 10:01:02 -07:00
Lorenze Jay
a02f637155 fix type-checker 2025-03-31 09:50:42 -07:00
Lorenze Jay
996bbad0d3 fix fingerprinting issues 2025-03-31 09:36:30 -07:00
Lucas Gomide
3c24350306 fix: remove logs we don't need to see from UserMemory initializion (#2497) 2025-03-31 08:27:36 -07:00
Lorenze Jay
859139016e Update LiteAgent documentation for clarity and consistency; replace WebsiteSearchTool with SerperDevTool, and improve formatting in examples. 2025-03-31 08:12:08 -07:00
Lorenze Jay
f99d374609 Merge branch 'main' into feat/individual-react-agent 2025-03-28 15:19:44 -07:00
Lucas Gomide
356d4d9729 Merge pull request #2495 from Vidit-Ostwal/fix-user-memory-config
Fix user memory config
2025-03-28 17:17:52 -03:00
Brandon Hancock
3c9058a45f More type checking fixes 2025-03-28 15:31:44 -04:00
Brandon Hancock
f8f9063d9e more type checker fixes 2025-03-28 13:59:16 -04:00
Vidit-Ostwal
e290064ecc Fixes minor typo in memory docs 2025-03-28 22:39:17 +05:30
Brandon Hancock
a380bc076b Trying to fix CI issues 2025-03-28 13:03:37 -04:00
Vidit-Ostwal
77fa1b18c7 added early return 2025-03-28 22:30:32 +05:30
Brandon Hancock
f2927fc266 Fix errors 2025-03-28 12:58:23 -04:00
Brandon Hancock
594784473b Merge branch 'main' into feat/individual-react-agent 2025-03-28 12:52:40 -04:00
Vidit-Ostwal
08a6a82071 Minor Changes 2025-03-28 22:08:15 +05:30
Brandon Hancock
4bfb71d749 Clean up 2025-03-28 10:55:31 -04:00
Brandon Hancock
1daeaa4a81 docs 2025-03-28 10:51:54 -04:00
Brandon Hancock
4857777a9c drop hard coded examples 2025-03-28 10:28:31 -04:00
Brandon Hancock
b8c8640f22 cleanup 2025-03-28 10:28:15 -04:00
Brandon Hancock
0ec3c37912 99% done. Need to make docs match new example 2025-03-27 17:18:33 -04:00
Brandon Hancock
30aa5cc3b9 Update logger 2025-03-27 16:21:31 -04:00
Lucas Gomide
625748e462 Merge pull request #2492 from crewAIInc/bugfix-2409-pin-tools
chore(deps): pin crewai-tools to compatible version ~=0.38.0
2025-03-27 17:10:54 -03:00
lucasgomide
6e209d5d77 chore(deps): pin crewai-tools to compatible version ~=0.38.0
fixes [issue](https://github.com/crewAIInc/crewAI/issues/2390)
2025-03-27 16:36:08 -03:00
Vini Brasil
f845fac4da Refactor event base classes (#2491)
- Renamed `CrewEvent` to `BaseEvent` across the codebase for consistency
- Created a `CrewBaseEvent` that automatically identifies fingerprints for DRY
- Added a new `to_json()` method for serializing events
2025-03-27 15:42:11 -03:00
Brandon Hancock
0fca721b11 cleaning up 2025-03-27 13:30:37 -04:00
Lucas Gomide
fc9da22c38 Merge pull request #2265 from Vidit-Ostwal/Branch_2260
Added .copy for manager agent and shallow copy for manager llm
2025-03-27 09:26:04 -03:00
Vidit-Ostwal
02f790ffcb Fixed Intent 2025-03-27 08:14:07 +05:30
Vidit-Ostwal
af7983be43 Fixed Intent 2025-03-27 08:12:47 +05:30
Vidit-Ostwal
a83661fd6e Merge branch 'main' into Branch_2260 2025-03-27 08:11:17 +05:30
João Moura
e1a73e0c44 Using fingerprints (#2456)
* using fingerprints

* passing fingerptins on tools

* fix

* update lock

* Fix type checker errors

---------

Co-authored-by: Brandon Hancock <brandon@brandonhancock.io>
Co-authored-by: Brandon Hancock (bhancock_ai) <109994880+bhancockio@users.noreply.github.com>
Co-authored-by: Lorenze Jay <63378463+lorenzejay@users.noreply.github.com>
2025-03-26 14:54:23 -07:00
Eduardo Chiarotti
48983773f5 feat: add output to ToolUsageFinishedEvent (#2477)
* feat: add output to ToolUsageFinishedEvent

* feat: add type ignore

* feat: add tests
2025-03-26 16:50:09 -03:00
Lucas Gomide
73701fda1e Merge pull request #2476 from crewAIInc/devin/1742990927-fix-issue-2475
Fix multimodal agent validation errors with image processing
2025-03-26 16:40:23 -03:00
lucasgomide
3deeba4cab test: adding missing test to ensure multimodal content structures 2025-03-26 16:30:17 -03:00