João Moura
38a7b1e4da
Merge pull request #149 from tanys123/feat/serpapi-tools
...
feat: Add Google Search and Google Shopping tools
2024-12-27 21:48:20 -03:00
devin-ai-integration[bot]
2433819c4f
fix: handle optional storage with null checks ( #1808 )
...
Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Co-authored-by: João Moura <joaomdmoura@gmail.com >
2024-12-27 21:30:39 -03:00
Erick Amorim
97fc44c930
fix: Change storage initialization to None for KnowledgeStorage ( #1804 )
...
* fix: Change storage initialization to None for KnowledgeStorage
* refactor: Change storage field to optional and improve error handling when saving documents
---------
Co-authored-by: João Moura <joaomdmoura@gmail.com >
2024-12-27 21:18:25 -03:00
João Moura
7b7327c168
Merge pull request #150 from gbertb/fix/spidertool_fixes
...
Fix(SpiderTool): Improve Tool Reliability and Performance
2024-12-27 18:37:48 -03:00
João Moura
97a4a348ff
Merge pull request #151 from hienhayho/main
...
fix: fix pydantic validation error
2024-12-27 18:30:18 -03:00
siddharth Sambharia
409892d65f
Portkey Integration with CrewAI ( #1233 )
...
* Create Portkey-Observability-and-Guardrails.md
* crewAI update with new changes
* small change
---------
Co-authored-by: siddharthsambharia-portkey <siddhath.s@portkey.ai >
Co-authored-by: João Moura <joaomdmoura@gmail.com >
2024-12-27 18:16:47 -03:00
devin-ai-integration[bot]
62f3df7ed5
docs: add guide for multimodal agents ( #1807 )
...
Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Co-authored-by: Joe Moura <joao@crewai.com >
2024-12-27 18:16:02 -03:00
João Moura
078120e548
Merge pull request #159 from MahlerTom/main
...
[BUG] `CodeInterpreterTool` cannot handle mutli-line code
2024-12-27 18:03:47 -03:00
João Igor
4cf8913d31
chore: removing crewai-tools from dev-dependencies ( #1760 )
...
As mentioned in issue #1759 , listing crewai-tools as dev-dependencies makes pip install it a required dependency, and not an optional
Co-authored-by: João Moura <joaomdmoura@gmail.com >
2024-12-27 17:45:06 -03:00
João Moura
82647358b2
Adding Multimodal Abilities to Crew ( #1805 )
...
* initial fix on delegation tools
* fixing tests for delegations and coding
* Refactor prepare tool and adding initial add images logic
* supporting image tool
* fixing linter
* fix linter
* Making sure multimodal feature support i18n
* fix linter and types
* mixxing translations
* fix types and linter
* Revert "fixing linter"
This reverts commit 2eda5fdeed .
* fix linters
* test
* fix
* fix
* fix linter
* fix
* ignore
* type improvements
2024-12-27 17:03:35 -03:00
DarshanDeshpande
7da783ef0e
Minor formatting changes
2024-12-26 17:44:04 -05:00
DarshanDeshpande
0ac6f915fb
Add all Patronus eval tools and update example
2024-12-26 17:37:22 -05:00
Brandon Hancock (bhancock_ai)
6cc2f510bf
Feat/joao flow improvement requests ( #1795 )
...
* Add in or and and in router
* In the middle of improving plotting
* final plot changes
---------
Co-authored-by: João Moura <joaomdmoura@gmail.com >
2024-12-24 18:55:44 -03:00
Tom Mahler
ba8f95964f
added unit testing for multi-line output
2024-12-24 14:14:09 +02:00
Tom Mahler
64b98667a3
fixed code interpreter tests
2024-12-24 14:13:51 +02:00
Tom Mahler
331840e6cc
improved imports from docker for better type hinting
2024-12-24 12:17:57 +02:00
Tom Mahler
bb19f1c74c
using command list instead of string to avoid parsing issues
2024-12-24 12:12:18 +02:00
Lorenze Jay
9a65abf6b8
removed some redundancies ( #1796 )
...
* removed some redundancies
* cleanup
2024-12-23 13:54:16 -05:00
Lorenze Jay
b3185ad90c
Feat/docling-support ( #1763 )
...
* added tool for docling support
* docling support installation
* use file_paths instead of file_path
* fix import
* organized imports
* run_type docs
* needs to be list
* fixed logic
* logged but file_path is backwards compatible
* use file_paths instead of file_path 2
* added test for multiple sources for file_paths
* fix run-types
* enabling local files to work and type cleanup
* linted
* fix test and types
* fixed run types
* fix types
* renamed to CrewDoclingSource
* linted
* added docs
* resolve conflicts
---------
Co-authored-by: Brandon Hancock (bhancock_ai) <109994880+bhancockio@users.noreply.github.com >
Co-authored-by: Brandon Hancock <brandon@brandonhancock.io >
2024-12-23 13:19:58 -05:00
devin-ai-integration[bot]
c887ff1f47
feat: Add interpolate_only method and improve error handling ( #1791 )
...
* Fixed output_file not respecting system path
* Fixed yaml config is not escaped properly for output requirements
* feat: Add interpolate_only method and improve error handling
- Add interpolate_only method for string interpolation while preserving JSON structure
- Add comprehensive test coverage for interpolate_only
- Add proper type annotation for logger using ClassVar
- Improve error handling and documentation for _save_file method
Co-Authored-By: Joe Moura <joao@crewai.com >
* fix: Sort imports to fix lint issues
Co-Authored-By: Joe Moura <joao@crewai.com >
* fix: Reorganize imports using ruff --fix
Co-Authored-By: Joe Moura <joao@crewai.com >
* fix: Consolidate imports and fix formatting
Co-Authored-By: Joe Moura <joao@crewai.com >
* fix: Apply ruff automatic import sorting
Co-Authored-By: Joe Moura <joao@crewai.com >
* fix: Sort imports using ruff --fix
Co-Authored-By: Joe Moura <joao@crewai.com >
---------
Co-authored-by: Frieda (Jingying) Huang <jingyingfhuang@gmail.com >
Co-authored-by: Brandon Hancock (bhancock_ai) <109994880+bhancockio@users.noreply.github.com >
Co-authored-by: Frieda Huang <124417784+frieda-huang@users.noreply.github.com >
Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Co-authored-by: Joe Moura <joao@crewai.com >
2024-12-23 13:05:29 -05:00
devin-ai-integration[bot]
22e5d39884
feat: Add task guardrails feature ( #1742 )
...
* feat: Add task guardrails feature
Add support for custom code guardrails in tasks that validate outputs
before proceeding to the next task. Features include:
- Optional task-level guardrail function
- Pre-next-task execution timing
- Tuple return format (success, data)
- Automatic result/error routing
- Configurable retry mechanism
- Comprehensive documentation and tests
Link to Devin run: https://app.devin.ai/sessions/39f6cfd6c5a24d25a7bd70ce070ed29a
Co-Authored-By: Joe Moura <joao@crewai.com >
* fix: Add type check for guardrail result and remove unused import
Co-Authored-By: Joe Moura <joao@crewai.com >
* fix: Remove unnecessary f-string prefix
Co-Authored-By: Joe Moura <joao@crewai.com >
* feat: Add guardrail validation improvements
- Add result/error exclusivity validation in GuardrailResult
- Make return type annotations optional in Task guardrail validator
- Improve error messages for validation failures
Co-Authored-By: Joe Moura <joao@crewai.com >
* docs: Add comprehensive guardrails documentation
- Add type hints and examples
- Add error handling best practices
- Add structured error response patterns
- Document retry mechanisms
- Improve documentation organization
Co-Authored-By: Joe Moura <joao@crewai.com >
* refactor: Update guardrail functions to handle TaskOutput objects
Co-Authored-By: Joe Moura <joao@crewai.com >
* feat: Add task guardrails feature
Add support for custom code guardrails in tasks that validate outputs
before proceeding to the next task. Features include:
- Optional task-level guardrail function
- Pre-next-task execution timing
- Tuple return format (success, data)
- Automatic result/error routing
- Configurable retry mechanism
- Comprehensive documentation and tests
Link to Devin run: https://app.devin.ai/sessions/39f6cfd6c5a24d25a7bd70ce070ed29a
Co-Authored-By: Joe Moura <joao@crewai.com >
* fix: Add type check for guardrail result and remove unused import
Co-Authored-By: Joe Moura <joao@crewai.com >
* fix: Remove unnecessary f-string prefix
Co-Authored-By: Joe Moura <joao@crewai.com >
* feat: Add guardrail validation improvements
- Add result/error exclusivity validation in GuardrailResult
- Make return type annotations optional in Task guardrail validator
- Improve error messages for validation failures
Co-Authored-By: Joe Moura <joao@crewai.com >
* docs: Add comprehensive guardrails documentation
- Add type hints and examples
- Add error handling best practices
- Add structured error response patterns
- Document retry mechanisms
- Improve documentation organization
Co-Authored-By: Joe Moura <joao@crewai.com >
* refactor: Update guardrail functions to handle TaskOutput objects
Co-Authored-By: Joe Moura <joao@crewai.com >
* style: Fix import sorting in task guardrails files
Co-Authored-By: Joe Moura <joao@crewai.com >
* fixing docs
* Fixing guardarils implementation
* docs: Enhance guardrail validator docstring with runtime validation rationale
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: Brandon Hancock (bhancock_ai) <109994880+bhancockio@users.noreply.github.com >
Co-authored-by: João Moura <joaomdmoura@gmail.com >
2024-12-22 00:52:02 -03:00
PJ
9ee6824ccd
Correcting a small grammatical issue that was bugging me: from _satisfy the expect criteria_ to _satisfies the expected criteria_ ( #1783 )
...
Signed-off-by: PJ Hagerty <pjhagerty@gmail.com >
Co-authored-by: Brandon Hancock (bhancock_ai) <109994880+bhancockio@users.noreply.github.com >
2024-12-20 10:17:34 -05:00
Vini Brasil
da73865f25
Add tool.crewai.type pyproject attribute in templates ( #1789 )
2024-12-20 10:36:18 -03:00
Pedro Pereira
f11756387d
chore: add tests for SeleniumScrapingTool
2024-12-19 21:06:51 +00:00
Tony Kipkemboi
b7a132db89
Merge pull request #147 from crewAIInc/feature/enhanced-serper-search
...
feat(serper-dev): implement enhanced search capabilities and error ha…
2024-12-19 13:15:11 -05:00
Pedro Pereira
5e00b74cd4
chore: update readme
2024-12-19 17:38:30 +00:00
juliette_sivan
4c5f1962ac
add linkup tool
2024-12-19 14:07:36 +01:00
Pedro Pereira
8d8c3677ff
feat: add optional return_html flag to SeleniumScrapingTool
2024-12-18 18:23:18 +01:00
Vini Brasil
627b9f1abb
Remove relative import in flow main.py template ( #1782 )
2024-12-18 10:47:44 -03:00
Marco Vinciguerra
b58d80dcf9
update documents according to suggestions
2024-12-18 14:42:37 +01:00
Marco Vinciguerra
7608944e7f
Update README.md
2024-12-18 14:38:34 +01:00
Marco Vinciguerra
c070ba002c
feat: integration of scrapegraph APIs
2024-12-18 14:34:40 +01:00
Gilbert Bagaoisan
1bbac87e70
Improved readme based on recommendations—added more advanced usage examples
2024-12-17 21:00:40 -08:00
Gilbert Bagaoisan
73b803ddc3
various improvements for PR based on recommendations
2024-12-17 21:00:34 -08:00
alan blount
1b8001bf98
Gemini 2.0 ( #1773 )
...
* Update llms.mdx (Gemini 2.0)
- Add Gemini 2.0 flash to Gemini table.
- Add link to 2 hosting paths for Gemini in Tip.
- Change to lower case model slugs vs names, user convenience.
- Add https://artificialanalysis.ai/ as alternate leaderboard.
- Move Gemma to "other" tab.
* Update llm.py (gemini 2.0)
Add setting for Gemini 2.0 context window to llm.py
---------
Co-authored-by: Brandon Hancock (bhancock_ai) <109994880+bhancockio@users.noreply.github.com >
2024-12-17 16:44:10 -05:00
Tony Kipkemboi
e59e07e4f7
Merge pull request #1777 from crewAIInc/fix/python-max-version
...
Fix/python max version
2024-12-17 16:09:44 -05:00
Brandon Hancock
ee239b1c06
change to <13 instead of <=12
2024-12-17 16:00:15 -05:00
Brandon Hancock
bf459bf983
include 12 but not 13
2024-12-17 15:29:11 -05:00
Ho Trong Hien
c7624e1f57
Merge pull request #1 from hienhayho/hienhayho-fix-llamaindex-result-as-answer
...
fix: fix pydantic validation error
2024-12-17 22:29:19 +07:00
Ho Trong Hien
059d635f02
fix: fix pydantic validation error
...
- When passing result_as_answer=True, it will return ToolOutput so it won't pass pydantic validation as a string
- Get content of ToolOutput before return
2024-12-17 22:28:41 +07:00
Gilbert Bagaoisan
3795d7dd8e
Reversed order of url validation
2024-12-16 22:19:46 -08:00
Gilbert Bagaoisan
4551b8c625
Updated readme
2024-12-16 22:05:46 -08:00
Gilbert Bagaoisan
cd37ede869
lint fixes
2024-12-16 22:05:28 -08:00
Terry Tan Yongsheng
81981e43b6
Add type hints
2024-12-17 13:45:50 +08:00
Terry Tan Yongsheng
2effe9a7d2
Add README
2024-12-17 11:09:38 +08:00
Terry Tan Yongsheng
56a9060840
Add SerpApi tools - google search, google shopping
2024-12-17 11:09:28 +08:00
Karan Vaidya
94eaa6740e
Fix bool and null handling ( #1771 )
2024-12-16 16:23:53 -05:00
Rip&Tear
e40ca38daf
Merge branch 'main' into feature/enhanced-serper-search
2024-12-16 22:53:55 +08:00
Hammam Abdelwahab
b6bb5dbd53
Enabled manual setting of docker base url for code interpreter tool. Goal is to avoid the error: CodeInterpreterTool Error while fetching server API version:
2024-12-15 10:38:56 +01:00
Hammam Abdelwahab
c26e962d17
Enabled manual setting of docker base url for code interpreter tool. Goal is to avoid the error: CodeInterpreterTool Error while fetching server API version:
2024-12-15 10:34:07 +01:00