Greyson LaLonde
90ca02b9dc
fix: address mypy type errors in multiple files
...
- Fix return type and argument handling in cache_tools.py
- Add missing return statements in agent.py
- Fix _inject_date_to_task signature to accept Task object
- Remove unused type:ignore comments in tool_usage.py
- Add type annotations to internal methods in mem0_storage.py
2025-09-03 23:05:07 -04:00
Greyson LaLonde
b94fbd3d3a
fix: improve type annotations across codebase
2025-09-03 22:29:41 -04:00
Greyson LaLonde
bdfc38ba32
refactor: update CacheHandler imports to use direct path
...
- Update imports from crewai.agents.cache to crewai.agents.cache.cache_handler
- Remove CacheHandler from agents module __all__ export
2025-09-03 18:18:05 -04:00
Eduardo Chiarotti
293305790d
Feat/remove langchain ( #1654 )
...
* feat: add initial changes from langchain
* feat: remove kwargs of being processed
* feat: remove langchain, update uv.lock and fix type_hint
* feat: change docs
* feat: remove forced requirements for parameter
* feat add tests for new structure tool
* feat: fix tests and adapt code for args
2024-11-26 16:59:52 -03:00
C0deZ
e66a135d5d
refactor: Move BaseTool to main package and centralize tool description generation ( #1514 )
...
* move base_tool to main package and consolidate tool desscription generation
* update import path
* update tests
* update doc
* add base_tool test
* migrate agent delegation tools to use BaseTool
* update tests
* update import path for tool
* fix lint
* update param signature
* add from_langchain to BaseTool for backwards support of langchain tools
* fix the case where StructuredTool doesn't have func
---------
Co-authored-by: c0dez <li@vitablehealth.com >
Co-authored-by: Brandon Hancock (bhancock_ai) <109994880+bhancockio@users.noreply.github.com >
2024-11-01 12:30:48 -04:00