Commit Graph

339 Commits

Author SHA1 Message Date
Lorenze Jay
dca7fae17c Merge branch 'main' of github.com:crewAIInc/crewAI into brandon/cre-130-pipeline-project-structure 2024-08-07 08:24:03 -07:00
Lorenze Jay
7392d32f52 Merge branch 'main' of github.com:crewAIInc/crewAI into brandon/cre-130-pipeline-project-structure 2024-08-05 11:00:31 -07:00
Lorenze Jay
398b3fa9d1 wrapped up router 2024-08-05 10:58:51 -07:00
Thiago Moretto
f3b3d321e5 Fix lint issue 2024-08-05 13:34:03 -03:00
Thiago Moretto
67e4433dc2 Fix flaky test due to suppressed error on on_llm_start callback 2024-08-05 13:29:39 -03:00
Lorenze Jay
574cfd4484 WIP: create pipelines cli working 2024-08-02 15:16:04 -07:00
Brandon Hancock
1d5583a624 more todos 2024-08-02 11:55:58 -04:00
Brandon Hancock
1f31a60950 changes for lorenze 2024-08-02 11:46:26 -04:00
Brandon Hancock
4660fb057b Restructure 2024-08-02 11:28:51 -04:00
Brandon Hancock
43e37444f3 WIP 2024-08-02 09:02:27 -04:00
Brandon Hancock
8b7a1eadc3 Fix poetry install from templates 2024-08-01 17:13:50 -04:00
Brandon Hancock
a5e0fa9ddf WIP 2024-08-01 16:56:01 -04:00
Brandon Hancock
41a0a10914 WIP. 2024-08-01 16:55:38 -04:00
Lorenze Jay
8118b7b7d6 Feat/sliding context window (#1042)
* patching for non-gpt model

* removal of json_object tool name assignment

* fixed issue for smaller models due to instructions prompt

* fixing for ollama llama3 models

* WIP: generated summary from documents split, could also create memgpt approach

* WIP: need tests but user inputted summarization strategy implemented - handling context window exceeding errors

* rm extra line

* removed type ignores

* added tests

* handling n to summarize prompt

* code cleanup, using click for cli asker

* rm not used class

* better refactor

* reverted poetry lock

* reverted poetry.locl

* improved context window exceeding exception class
2024-08-01 13:15:50 -07:00
Brandon Hancock
9996cf206e Working on creating Crew templates and pipeline templates 2024-08-01 11:43:39 -04:00
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
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
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
Matt Young
de6b597eff telemetry.py - fix typo in comment. (#1020) 2024-07-29 23:03:51 -03:00
Brandon Hancock
d72f5a601e Add missing doc string 2024-07-29 16:22:52 -04: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
910c8df1a7 Update pipeline to use UsageMetric 2024-07-29 16:00:57 -04:00
Brandon Hancock
b9177f2d04 Merge branch 'brandon/cre-117-create-a-type-for-usage-metrics' into feature/procedure_v2 2024-07-29 15:55:11 -04:00
Brandon Hancock
03eafe1671 Fix 1 type error in pipeline 2024-07-29 15:54:49 -04:00
Brandon Hancock
f2830d9c7a Drop todo 2024-07-29 15:51:14 -04:00
Brandon Hancock
e3182d135a WIP. Converting usage metrics from a dict to an object 2024-07-29 15:30:54 -04:00
Brandon Hancock
3d5bbf5da9 Fix missing rag datatype 2024-07-29 15:09:59 -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
Brandon Hancock
04de7730fa Add doc strings 2024-07-29 12:44:10 -04:00
Brandon Hancock
de6950046d Add developer notes to explain what is going on in pipelines. 2024-07-29 12:36:03 -04:00
Brandon Hancock
cb2276dc7d Add in Eduardo feedback. Still need to add in more commentary describing the design decisions for pipeline 2024-07-29 12:20:18 -04:00
Brandon Hancock
53e91a7c78 Fix circular dependencies and updated PipelineRouter 2024-07-29 11:31:34 -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
Henri Wenlin
ef5ff71346 feat: add verbose option for printing in ToolUsage (#990) 2024-07-28 15:12:10 -03:00
Taleb
6b4710a8d1 Improve _save_file method to handle both dict and str inputs (#1011)
- Add check for dict type input
- Use json.dump for dict serialization
- Convert non-dict inputs to string
- Remove type ignore comments
2024-07-28 15:03:18 -03:00
João Moura
4e6abf596d updating test 2024-07-28 13:23:03 -04:00
ResearchAI
99d023c5f3 Update reset_memories_command.py (#974) 2024-07-26 14:40:47 -07:00