Brandon Hancock
26489ced1a
Consistently storing async and sync output for context
2024-06-20 13:47:37 -04:00
Brandon Hancock
ea5a784877
Cleaned up task execution to now have separate paths for async and sync execution. Updating all kickoff functions to return CrewOutput. WIP. Waiting for Joao feedback on async task execution with task_output
2024-06-20 12:11:27 -04:00
Lorenze Jay
095015d397
Lorenzejay/crew kickoff union type ( #767 )
...
* added extra parameter for kickoff to return token usage count after result
* added output_token_usage to class and in full_output
* logger duplicated
* added more types
* added usage_metrics to full output instead
* added more to the description on full_output
* possible mispacing
* updated kickoff return types to be either string or dict applicable when full_output is set
* removed duplicates
2024-06-14 14:23:55 -03:00
Lorenze Jay
d3b6640b4a
added usage_metrics to full output ( #756 )
...
* added extra parameter for kickoff to return token usage count after result
* added output_token_usage to class and in full_output
* logger duplicated
* added more types
* added usage_metrics to full output instead
* added more to the description on full_output
* possible mispacing
2024-06-12 14:18:52 -03:00
Brandon Hancock (bhancock_ai)
946c56494e
Feature/kickoff for each sync ( #680 )
...
* Sync with deep copy working now
* async working!!
* Clean up code for review
* Fix naming
---------
Co-authored-by: João Moura <joaomdmoura@gmail.com >
2024-06-11 12:51:39 -03:00
theCyberTech - Rip&Tear
27412c89dd
Update crew.py ( #644 )
...
Fixed Type on line 53
2024-05-24 00:06:27 -03:00
Eduardo Chiarotti
24ed8a2549
feat: Add crew train cli ( #624 )
...
* fix: fix crewai-tools cli command
* feat: add crewai train CLI command
* feat: add the tests
* fix: fix typing hinting issue on code
* fix: test.yml
* fix: fix test
* fix: removed fix since it didnt changed the test
2024-05-23 18:46:45 -03:00
João Moura
27fddae286
New version, updating dependencies, fixing memory
2024-05-13 22:26:41 -03:00
Eduardo Chiarotti
1ec4da6947
feat: add mypy as type checker, update code and add comment to reference ( #591 )
...
* fix: fix test actually running
* fix: fix test to not send request to openai
* fix: fix linting to remove cli files
* fix: exclude only files that breaks black
* fix: Fix all Ruff checkings on the code and Fix Test with repeated name
* fix: Change linter name on yml file
* feat: update pre-commit
* feat: remove need for isort on the code
* feat: add mypy as type checker, update code and add comment to reference
* feat: remove black linter
* feat: remove poetry to run the command
* feat: change logic to test mypy
* feat: update tests yml to try to fix the tests gh action
* feat: try to add just mypy to run on gh action
* feat: fix yml file
* feat: add comment to avoid issue on gh action
* feat: decouple pytest from the necessity of poetry install
* feat: change tests.yml to test different approach
* feat: change to poetry run
* fix: parameter field on yml file
* fix: update parameters to be on the pyproject
* fix: update pyproject to remove import untyped errors
2024-05-10 16:37:52 -03:00
João Moura
73647f1669
TYPO
2024-05-05 02:14:49 -03:00
João Moura
d341cb3d5c
Fixing manager_agent_support
2024-05-05 00:51:18 -03:00
João Moura
552dda46f8
updating manager llm pydantic error
2024-05-02 23:39:56 -03:00
David Solito
6392a8cdd0
Update crew.py ( #551 )
...
Ad manager_agent description in crew docstring
2024-05-02 19:21:22 -03:00
João Moura
0a53ce17a2
small improvements for i18n
2024-05-02 05:00:29 -03:00
João Moura
672b150972
adding initial support for external prompt file
2024-05-02 05:00:29 -03:00
João Moura
03f0c44cac
Fixing task callback
2024-05-02 02:21:59 -03:00
João Moura
caa0e5db8d
Revert "AgentOps Implementation ( #411 )"
...
This reverts commit 3d5257592b .
2024-05-02 02:21:59 -03:00
Braelyn Boynton
3d5257592b
AgentOps Implementation ( #411 )
...
* implements agentops with a langchain handler, agent tracking and tool call recording
* track tool usage
* end session after completion
* track tool usage time
* better tool and llm tracking
* code cleanup
* make agentops optional
* optional dependency usage
* remove telemetry code
* optional agentops
* agentops version bump
* remove org key
* true dependency
* add crew org key to agentops
* cleanup
* Update pyproject.toml
* Revert "true dependency"
This reverts commit e52e8e9568 .
* Revert "cleanup"
This reverts commit 7f5635fb9e .
* optional parent key
* agentops 0.1.5
* Revert "Revert "cleanup""
This reverts commit cea33d9a5d .
* Revert "Revert "true dependency""
This reverts commit 4d1b460b
* cleanup
* Forcing version 0.1.5
* Update pyproject.toml
---------
Co-authored-by: João Moura <joaomdmoura@gmail.com >
2024-04-20 12:20:13 -03:00
João Moura
a391004432
Adding manager llm
2024-04-16 16:50:44 -03:00
Joseph Bastulli
437c4c91bc
fix: swapped the task callback assignment ( #443 )
2024-04-16 15:54:42 -03:00
Lennart J. Kurzweg
066127013b
Added optional manager_agent parameter ( #474 )
...
* Added optional manager_agent parameter
* Update crew.py
---------
Co-authored-by: Lennart J. Kurzweg (Nx2) <git@nx2.site >
Co-authored-by: João Moura <joaomdmoura@gmail.com >
2024-04-16 08:18:36 -03:00
GabeKoga
9db99befb6
Feature: Log files ( #423 )
...
* log_file
feature: added a new parameter for crew that creates a txt file to log agent execution
* unit tests and documentation
unit test if file is created but not what is inside the file
2024-04-05 19:44:50 -03:00
GabeKoga
aebc443b62
purple ( #428 )
...
changed from yellow to purple for visibility
2024-04-05 18:25:59 -03:00
João Moura
e9adc3fa4e
Removing memory flag from agent in favor of crew memory
2024-04-04 15:29:45 -03:00
João Moura
2d97177eff
checking crew before using memory
2024-04-03 05:03:43 -03:00
João Moura
5b59e450f7
Adding long term, short term, entity and contextual memory
2024-04-01 10:45:17 -03:00
João Moura
721b27d222
Ability to disable cache at agent and crew level
2024-04-01 10:43:05 -03:00
João Moura
35f8919e73
Preparing new version
2024-03-11 17:37:12 -03:00
João Moura
cb5a528550
Improving agent logging
2024-03-11 17:05:54 -03:00
Chris Pang
f8a1d4f414
added langchain callback to agents ( #333 )
...
Co-authored-by: Chris Pang <chris_pang@racv.com.au >
2024-03-11 16:40:10 -03:00
João Moura
a4e9b9ccfe
removing double space on logs
2024-03-11 16:23:00 -03:00
João Moura
99be4f5a61
Overridding classes __repr__
2024-03-05 10:12:49 -03:00
João Moura
42eeec5897
Update inner tool usage logic to support both regular and function calling
2024-03-03 20:54:15 -03:00
heyfixit
c0a0e01cf6
fix directory typo ( #295 )
2024-03-03 12:41:14 -03:00
João Moura
78bf008c36
cutting a new version addressin backward compatibility
2024-02-28 12:04:13 -03:00
João Moura
997c906b5f
adding support for input interpolation for tasks and agents
2024-02-28 03:44:23 -03:00
João Moura
340bea3271
Adding ability to track tools_errors and delegations
2024-02-28 03:44:23 -03:00
João Moura
a9863fe670
Adding overall usage_metrics to crew and not adding delegation tools if there no agents the allow delegation
2024-02-28 03:44:23 -03:00
João Moura
ab98c3bd28
Avoid empty task outputs
2024-02-24 03:11:41 -03:00
João Moura
108a0d36b7
Adding support to export tasks as json, pydantic objects, and save as file
2024-02-19 22:46:34 -03:00
João Moura
e55cee7372
adding function calling llm support
2024-02-13 02:57:12 -08:00
João Moura
00206a62ab
Revamping tool usage
2024-02-10 10:36:34 -08:00
João Moura
d36c2a74cb
recreating executor upon setting new step_callback
2024-02-09 01:52:28 -08:00
João Moura
a1e0596450
adding crew step_callback
2024-02-09 01:24:31 -08:00
João Moura
326ad08ba2
adding support for full_ouput in crews
2024-02-08 23:23:34 -08:00
João Moura
0057ed6786
adding user the otpion to share all data of their crews
2024-02-08 23:01:02 -08:00
João Moura
a45c82c5f7
fixing RPM controlelr being set unencessarily
2024-02-07 23:09:36 -08:00
João Moura
fc249eefda
adding initial telemetry
2024-02-07 22:21:44 -08:00
João Moura
723fdc6245
adding fix to hierarchical process
2024-02-07 02:13:19 -08:00
João Moura
09bec0e28b
adding manager_llm
2024-02-05 20:46:47 -08:00