Commit Graph

170 Commits

Author SHA1 Message Date
Brandon Hancock
c5e8302a7d Merge branch 'feature/procedure_v2' into brandon/cre-107-pipeline-conditional-routing 2024-07-31 11:31:30 -04:00
Brandon Hancock
d554e00454 Add router example to docs 2024-07-31 10:54:20 -04:00
Brandon Hancock
6aab0ebcbc Remove overly complicated test 2024-07-31 10:12:37 -04:00
Brandon Hancock
41df368156 Merge branch 'main' into feature/procedure_v2 2024-07-31 09:49:48 -04:00
Brandon Hancock
1147a1c93e Fix tests 2024-07-31 09:46:19 -04:00
João Moura
c93b85ac53 Preparing for new version 2024-07-30 19:21:18 -04:00
Brandon Hancock
1154cef798 Add more tests which showed underlying issue with traces 2024-07-30 16:25:03 -04:00
Lorenze Jay
6378f6caec WIP fixed mypy src types (#1036) 2024-07-30 10:59:50 -07:00
Brandon Hancock
19f87f2b82 Tests working now! 2024-07-30 13:57:12 -04:00
Brandon Hancock
a79efefe7b Fix critical circular dependency issues. Now needing to fix trace issue. 2024-07-30 13:29:01 -04:00
Brandon Hancock
4251494c55 Merge branch 'feature/procedure_v2' into brandon/cre-107-pipeline-conditional-routing 2024-07-30 09:55:20 -04:00
Brandon Hancock
072044c537 Rename variables based on joaos feedback 2024-07-30 09:54:11 -04:00
Brandon Hancock
e4b3b32b50 Merge branch 'feature/procedure_v2' into brandon/cre-107-pipeline-conditional-routing# 2024-07-30 09:44:23 -04:00
Brandon Hancock
e1a03ad97d Change names 2024-07-30 09:43:36 -04:00
Brandon Hancock
46fdada5e4 WIP. 2024-07-30 09:36:04 -04:00
Eduardo Chiarotti
d824db82a3 feat: Add execution time to both task and testing feature (#1031)
* feat: Add execution time to both task and testing feature

* feat: Remove unused functions

* feat: change test_crew to evalaute_crew to avoid issues with testing libs

* feat: fix tests
2024-07-29 23:17:07 -03:00
Brandon Hancock
467c67c597 Merge branch 'feature/procedure_v2' into brandon/cre-107-pipeline-conditional-routing 2024-07-29 16:11:55 -04:00
Brandon Hancock
619806f80d Fix tests that were checking usage metrics 2024-07-29 15:48:48 -04:00
Brandon Hancock
75c7aaf585 Merge branch 'main' into feature/procedure_v2 2024-07-29 14:27:28 -04:00
Brandon Hancock (bhancock_ai)
fa4393d77e Add in missing triple quote and execution time to resume agent functionality. (#1025)
* Add in missing triple quote and execution time to resume agent functionality

* Fixing broken kwargs and other issues causing our tests to fail
2024-07-29 14:39:02 -03:00
Brandon Hancock
083949fc23 Merge branch 'main' into feature/procedure_v2 2024-07-29 12:48:53 -04:00
Taleb
0a23e1dc13 Performed spell check across the rest of code base, and enahnced the yaml paraser code a little (#895)
* Performed spell check across the entire documentation

Thank you once again!

* Performed spell check across the most of code base
Folders been checked:
- agents
- cli
- memory
- project
- tasks
- telemetry
- tools
- translations

* Trying to add a max_token for the agents, so they limited by number of tokens.

* Performed spell check across the rest of code base, and enahnced the yaml paraser code a little

* Small change in the main agent doc

* Improve _save_file method to handle both dict and str inputs

- Add check for dict type input
- Use json.dump for dict serialization
- Convert non-dict inputs to string
- Remove type ignore comments

---------

Co-authored-by: João Moura <joaomdmoura@gmail.com>
2024-07-28 15:39:54 -03:00
João Moura
4e6abf596d updating test 2024-07-28 13:23:03 -04:00
Brandon Hancock (bhancock_ai)
da7d8256eb Json Task Output Truncation with Escape Characters (#1009)
* Fixed special character issue when converting json to models. Added numerous tests to ensure thigns work properly.

* Fix linting error and cleaned up tests

* Fix customer_converter_cls test failure

* Fixed tests. Thank you lorenze for pointing that out. added a few more to ensure converter creation works properly

* Address lorenze feedback

* Fix linting issues
2024-07-26 17:27:01 -04:00
Lorenze Jay
1159140d9f fix test due to asserting instructions model_schema change 2024-07-26 13:37:44 -07:00
Lorenze Jay
8b513de64c hierarchical process unblocked for async tasks (#995)
* WIP: hierarchical unblock for async tasks

* added better test

* update name change

* added more test and crew manager cleanup

* remove prints

* code cleanup, no need to pass manager
2024-07-26 10:55:51 -07:00
Eduardo Chiarotti
144e6d203f feat: add ability to set LLM for AgentPLanner on Crew (#1001)
* feat: add ability to set LLM for AgentPLanner on Crew

* feat: fixes issue on instantiating the ChatOpenAI on the crew

* docs: add docs for the planning_llm new parameter

* docs: change message to ChatOpenAI llm

* feat: add tests
2024-07-26 14:24:29 -03:00
Eduardo Chiarotti
2d2154ed65 feat: add crew Testing/Evaluating feature (#998)
* feat: add crew Testing/evalauting feature

* feat: add docs and add unit test

* feat: improve testing output table

* feat: add tests

* feat: fix type checking issue

* feat: add raise ValueError when testing if output is not the expected

* docs: add docs for Testing

* feat: improve tests and fix some issue

* feat: back to sync

* feat: change opdeai model

* feat: fix test
2024-07-26 14:23:51 -03:00
Brandon Hancock
31ff979a4b In the middle of fixing router. A ton of circular dependencies. Moving over to a new design. 2024-07-26 09:24:40 -04:00
Brandon Hancock
6b4ebe16d0 Update Pipeline docs 2024-07-23 11:24:57 -04:00
Brandon Hancock
33d9828edc Implemented additional tests for pipeline. One test is failing. Need team support 2024-07-22 16:35:16 -04:00
Eduardo Chiarotti
6930656897 feat: add crewai test feature (#984)
* feat: add crewai test feature

* fix: remove unused import

* feat: update docstirng

* fix: tests
2024-07-22 17:21:05 -03:00
Brandon Hancock
e95ef6fca9 Merge branch 'main' into feature/procedure_v2 2024-07-22 09:55:03 -04:00
João Moura
349753a013 prepping new version 2024-07-20 12:26:32 -04:00
Brandon Hancock
392490c48b new pipeline flow with traces and usage metrics working. need to add more tests and make sure PipelineOutput behaves likew CrewOutput 2024-07-19 14:39:31 -04:00
Brandon Hancock
d094e178f1 Update terminology 2024-07-18 14:59:38 -04:00
Lorenze Jay
be1b9a3994 Reset memory (#958)
* reseting memory on cli

* using storage.reset

* deleting memories on command

* added tests

* handle when no flags are used

* added docs
2024-07-18 13:29:42 -03:00
Eduardo Chiarotti
61a196394b feat: Add planning feature to crew (#919)
* feat: add planning feature to crew

* feat: add test to planning handler and change to execute_async method

* docs: add planning parameter to the Core documentation

* docs: add planning docs

* fix: fix type checking issue

* fix: test and logic
2024-07-18 13:15:08 -03:00
Brandon Hancock
834c62feca Going to start refactoring for pipeline_output 2024-07-18 11:20:26 -04:00
Brandon Hancock
c0c329b6e0 Merge branch 'main' into feature/procedure_v2 2024-07-17 13:37:27 -04:00
Lorenze Jay
76607062f0 using gpt4o 2024-07-17 08:27:43 -07:00
Lorenze Jay
93f643f851 fixed test 2024-07-17 08:20:05 -07:00
Lorenze Jay
6946b89e17 Merge branch 'main' of github.com:joaomdmoura/crewAI into test-hierarchical-tools-proper-setup 2024-07-17 08:16:44 -07:00
Brandon Hancock (bhancock_ai)
dc4911b1ca Merge pull request #950 from crewAIInc/conditional-task-f
conditional task feat
2024-07-17 11:08:06 -04:00
Brandon Hancock
36efa172ee Add more tests. Clean up docs. Improve conditional task 2024-07-17 11:03:11 -04:00
João Moura
7baaeacac3 Adding better support for open source tool calling models (#952)
* Adding better support for open source tool calling models

* making sure the right tool is called

* fixing tests

* better support opensource models
2024-07-17 05:54:13 -03:00
Lorenze Jay
ee32d36312 Merge branch 'conditional-task-f' of github.com:joaomdmoura/crewAI into test-hierarchical-tools-proper-setup 2024-07-16 16:05:09 -07:00
Lorenze Jay
ef928ee3cb added docs and tests 2024-07-16 16:04:41 -07:00
Lorenze Jay
c66559345f Merge branch 'conditional-task-f' of github.com:joaomdmoura/crewAI into test-hierarchical-tools-proper-setup 2024-07-16 15:20:46 -07:00
Lorenze Jay
bc7f601f84 updated fixes for conditional tasks 2024-07-16 15:10:13 -07:00