Greyson LaLonde
1d1f5f455c
test: fix lite agent guardrail test assertions
2025-09-26 23:15:37 -04:00
Greyson LaLonde
58b72c3948
test: mark tracing tests requiring API connections to skip in CI
2025-09-26 23:10:45 -04:00
Greyson LaLonde
3b18e7d971
test: fix task interpolation test assertion and update cassette
2025-09-26 23:07:51 -04:00
Greyson LaLonde
c062992806
test: mark tests requiring external APIs to skip in CI
2025-09-26 23:03:38 -04:00
Greyson LaLonde
9d3fe72e75
test: fix evaluation tests and update cassettes
2025-09-26 22:59:43 -04:00
Greyson LaLonde
d2249e621d
test: mark converter tests requiring local services to skip in CI
2025-09-26 22:50:26 -04:00
Greyson LaLonde
03a711c365
rerecord cassetes
2025-09-26 22:44:04 -04:00
Greyson LaLonde
72366e846e
fix: handle source code extraction errors for lambda guardrails
...
- Fix OSError when trying to get source code of lambda functions in guardrail events
- Gracefully handle lambdas and built-in functions by showing placeholder text
2025-09-26 22:37:31 -04:00
Greyson LaLonde
0a09beca03
fix: improve VCR configuration and skip local service tests in CI
...
- Update VCR config to exclude body matching for more reliable cassette playback
- Add pytest marker for tests requiring local services (Ollama, etc)
- Configure CI to skip tests marked as requiring local services
- Re-record async tool test cassettes with telemetry calls only
2025-09-26 22:30:34 -04:00
Greyson LaLonde
76ad0e0a10
test: re-record async tool test cassettes with proper mocking
2025-09-26 22:21:46 -04:00
Greyson LaLonde
6cf7da6d13
fix: remove broken VCR cassettes for async tool tests
...
These cassettes need to be re-recorded with proper API mocking
2025-09-26 22:18:37 -04:00
Greyson LaLonde
02267c1435
fix: specify tests directory in pytest command to avoid import conflicts
2025-09-26 22:14:02 -04:00
Greyson LaLonde
a717f44011
refactor: move src and tests from lib/crewai to root
2025-09-26 22:10:31 -04:00
Greyson LaLonde
b88f065ad8
feat: sync with upstream crewai-tools changes
2025-09-26 15:37:34 -04:00
Greyson LaLonde
e2270456c4
feat: add crewai-tools library to workspace
...
- Migrate crewai-tools as standalone package in lib/tools
- Configure UV workspace for monorepo structure
- Move assets to repository root
- Clean up duplicate README files
- Focus pre-commit hooks on lib/crewai/src only
2025-09-26 15:05:41 -04:00
Greyson LaLonde
3eeb9b8f6c
chore: prepare for crewai-tools migration
2025-09-26 14:52:25 -04:00
Greyson LaLonde
14a1bf6317
feat: add crewai-tools library to workspace
2025-09-26 14:37:51 -04:00
Greyson LaLonde
98a8607c87
chore: update workspace configuration and lock file
2025-09-26 14:32:15 -04:00
Greyson LaLonde
daf6f679ff
feat: restructure project as UV workspace with crewai in lib/
2025-09-26 14:29:28 -04:00
Greyson LaLonde
74b5c88834
Merge branch 'main' into release/v1.0.0-alpha.1
2025-09-26 13:32:05 -04:00
Lorenze Jay
7d5cd4d3e2
chore: bump CrewAI version to 0.201.1 and update dependencies in project templates ( #3605 )
...
CodeQL Advanced / Analyze (actions) (push) Has been cancelled
CodeQL Advanced / Analyze (python) (push) Has been cancelled
Notify Downstream / notify-downstream (push) Has been cancelled
Update Test Durations / update-durations (3.10) (push) Has been cancelled
Update Test Durations / update-durations (3.11) (push) Has been cancelled
Update Test Durations / update-durations (3.12) (push) Has been cancelled
Update Test Durations / update-durations (3.13) (push) Has been cancelled
Mark stale issues and pull requests / stale (push) Has been cancelled
- Update version in __init__.py to 0.201.1
- Modify dependency versions in pyproject.toml for crew, flow, and tool templates to require CrewAI 0.201.1
0.201.1
2025-09-26 09:58:00 -07:00
Greyson LaLonde
73e932bfee
fix: update embedding functions to inherit from chromadb callable
2025-09-26 12:25:19 -04:00
Greyson LaLonde
12fa7e2ff1
fix: rename watson to watsonx embedding provider and prefix env vars
...
- prefix provider env vars with embeddings_
- rename watson → watsonx in providers
- add deprecation warning and alias for legacy 'watson' key (to be removed in v1.0.0)
2025-09-26 10:57:18 -04:00
Greyson LaLonde
091d1267d8
fix: prefix embedding provider env vars with EMBEDDINGS_
2025-09-26 10:50:45 -04:00
Lorenze Jay
b5b10a8cde
chore: update version and dependencies to 0.201.0 ( #3593 )
...
CodeQL Advanced / Analyze (actions) (push) Has been cancelled
CodeQL Advanced / Analyze (python) (push) Has been cancelled
Notify Downstream / notify-downstream (push) Has been cancelled
Update Test Durations / update-durations (3.10) (push) Has been cancelled
Update Test Durations / update-durations (3.11) (push) Has been cancelled
Update Test Durations / update-durations (3.12) (push) Has been cancelled
Update Test Durations / update-durations (3.13) (push) Has been cancelled
Build uv cache / build-cache (3.10) (push) Has been cancelled
Build uv cache / build-cache (3.11) (push) Has been cancelled
Build uv cache / build-cache (3.12) (push) Has been cancelled
Build uv cache / build-cache (3.13) (push) Has been cancelled
Mark stale issues and pull requests / stale (push) Has been cancelled
- Bump CrewAI version to 0.201.0 in __init__.py
- Update dependency versions in pyproject.toml for crew, flow, and tool templates to require CrewAI 0.201.0
- Remove unnecessary blank line in pyproject.toml
0.201.0
2025-09-25 18:04:12 -07:00
Greyson LaLonde
2485ed93d6
feat: upgrade chromadb to v1.1.0, improve types
...
- update imports and include handling for chromadb v1.1.0
- fix mypy and typing_compat issues (required, typeddict, voyageai)
- refine embedderconfig typing and allow base provider instances
- handle mem0 as special case for external memory storage
- bump tools and clean up redundant deps
2025-09-25 20:48:37 -04:00
Greyson LaLonde
ce5ea9be6f
feat: add custom embedding types and migrate providers
...
- introduce baseembeddingsprovider and helper for embedding functions
- add core embedding types and migrate providers, factory, and storage modules
- remove unused type aliases and fix pydantic schema error
- update providers with env var support and related fixes
2025-09-25 18:28:39 -04:00
Lucas Gomide
13e5ec711d
feat: add apps & actions attributes to Agent ( #3504 )
...
* feat: add app attributes to Agent
* feat: add actions attribute to Agent
* chore: resolve linter issues
* refactor: merge the apps and actions parameters into a single one
* fix: remove unnecessary print
* feat: logging error when CrewaiPlatformTools fails
* chore: export CrewaiPlatformTools directly from crewai_tools
* style: resolver linter issues
* test: fix broken tests
* style: solve linter issues
* fix: fix broken test
2025-09-25 16:46:51 -04:00
Greyson LaLonde
e350817b8d
fix: remove debug logging ( #462 )
2025-09-25 08:00:41 -04:00
Greyson LaLonde
e070c1400c
feat: update pydantic, add pydantic-settings, migrate to dependency-groups
...
Build uv cache / build-cache (3.10) (push) Has been cancelled
Build uv cache / build-cache (3.11) (push) Has been cancelled
Build uv cache / build-cache (3.12) (push) Has been cancelled
Build uv cache / build-cache (3.13) (push) Has been cancelled
CodeQL Advanced / Analyze (actions) (push) Has been cancelled
CodeQL Advanced / Analyze (python) (push) Has been cancelled
Notify Downstream / notify-downstream (push) Has been cancelled
Update Test Durations / update-durations (3.10) (push) Has been cancelled
Update Test Durations / update-durations (3.11) (push) Has been cancelled
Update Test Durations / update-durations (3.12) (push) Has been cancelled
Update Test Durations / update-durations (3.13) (push) Has been cancelled
Mark stale issues and pull requests / stale (push) Has been cancelled
- Add pydantic-settings>=2.10.1 dependency for configuration management
- Update pydantic to 2.11.9 and python-dotenv to 1.1.1
- Migrate from deprecated tool.uv.dev-dependencies to dependency-groups.dev format
- Remove unnecessary dev dependencies: pillow, cairosvg
- Update all dev tooling to latest versions
- Remove duplicate python-dotenv from dev dependencies
2025-09-24 14:42:18 -04:00
Thiago Moretto
2a927933f2
Add OPENAI_API_KEY as required by QdrantSearchTool ( #461 )
2025-09-24 12:34:37 -04:00
Greyson LaLonde
6537e3737d
fix: correct directory name in quickstart documentation
2025-09-24 11:41:33 -04:00
Greyson LaLonde
346faf229f
feat: add pydantic-compatible import validation and deprecate old utilities
2025-09-24 11:36:02 -04:00
Lorenze Jay
a0b757a12c
Lorenze/traces mark as failed ( #3586 )
...
CodeQL Advanced / Analyze (actions) (push) Has been cancelled
CodeQL Advanced / Analyze (python) (push) Has been cancelled
Notify Downstream / notify-downstream (push) Has been cancelled
Update Test Durations / update-durations (3.10) (push) Has been cancelled
Update Test Durations / update-durations (3.11) (push) Has been cancelled
Update Test Durations / update-durations (3.12) (push) Has been cancelled
Update Test Durations / update-durations (3.13) (push) Has been cancelled
Mark stale issues and pull requests / stale (push) Has been cancelled
* marking trace batch as failed if its failed
* fix test
2025-09-23 22:02:27 -07:00
Greyson LaLonde
1dbe8aab52
fix: add batch_size support to prevent embedder token limit errors
...
- add batch_size field to baseragconfig (default=100)
- update chromadb/qdrant clients and factories to use batch_size
- extract and filter batch_size from embedder config in knowledgestorage
- fix large csv files exceeding embedder token limits (#3574 )
- remove unneeded conditional for type
Co-authored-by: Vini Brasil <vini@hey.com >
2025-09-24 00:05:43 -04:00
Greyson LaLonde
4ac65eb0a6
fix: support nested config format for embedder configuration
...
CodeQL Advanced / Analyze (actions) (push) Has been cancelled
CodeQL Advanced / Analyze (python) (push) Has been cancelled
Notify Downstream / notify-downstream (push) Has been cancelled
Update Test Durations / update-durations (3.10) (push) Has been cancelled
Update Test Durations / update-durations (3.11) (push) Has been cancelled
Update Test Durations / update-durations (3.12) (push) Has been cancelled
Update Test Durations / update-durations (3.13) (push) Has been cancelled
- support nested config format with embedderconfig typeddict
- fix parsing for model/model_name compatibility
- add validation, typing_extensions, and improved type hints
- enhance embedding factory with env var injection and provider support
- add tests for openai, azure, and all embedding providers
- misc fixes: test file rename, updated mocking patterns
2025-09-23 11:57:46 -04:00
Greyson LaLonde
3e97393f58
chore: improve typing and consolidate utilities
...
- add type annotations across utility modules
- refactor printer system, agent utils, and imports for consistency
- remove unused modules, constants, and redundant patterns
- improve runtime type checks, exception handling, and guardrail validation
- standardize warning suppression and logging utilities
- fix llm typing, threading/typing edge cases, and test behavior
2025-09-23 11:33:46 -04:00
Heitor Carvalho
34bed359a6
feat: add crewai uv wrapper for uv commands ( #3581 )
2025-09-23 10:55:15 -04:00
Greyson LaLonde
7c2aa2f923
fix: remove circular deps
...
- Remove embedchain and resolve circular deps with ChromaDB
- Adjust lockfile to match crewai requirements
- Mock embeddings and vector DB in RAG tool tests
2025-09-22 19:35:08 -04:00
Tony Kipkemboi
feeed505bb
docs(changelog): add releases 0.193.2, 0.193.1, 0.193.0, 0.186.1, 0.186.0 across en/ko/pt-BR ( #3577 )
CodeQL Advanced / Analyze (actions) (push) Has been cancelled
CodeQL Advanced / Analyze (python) (push) Has been cancelled
Notify Downstream / notify-downstream (push) Has been cancelled
Mark stale issues and pull requests / stale (push) Has been cancelled
2025-09-22 16:19:55 -07:00
Greyson LaLonde
cb0efd05b4
chore: fix ruff linting issues in tools module
...
CodeQL Advanced / Analyze (actions) (push) Has been cancelled
CodeQL Advanced / Analyze (python) (push) Has been cancelled
Notify Downstream / notify-downstream (push) Has been cancelled
Update Test Durations / update-durations (3.13) (push) Has been cancelled
Update Test Durations / update-durations (3.10) (push) Has been cancelled
Update Test Durations / update-durations (3.11) (push) Has been cancelled
Update Test Durations / update-durations (3.12) (push) Has been cancelled
linting, args_schema default, and validator check
2025-09-22 13:13:23 -04:00
Greyson LaLonde
db5f565dea
fix: apply ruff linting fixes to tasks module
2025-09-22 13:09:53 -04:00
Greyson LaLonde
58413b663a
chore: fix ruff linting issues in rag module
...
linting, list embedding handling, and test update
2025-09-22 13:06:22 -04:00
Greyson LaLonde
37636f0dd7
chore: fix ruff linting and mypy issues in flow module
2025-09-22 13:03:06 -04:00
Greyson LaLonde
0e370593f1
chore: resolve all ruff and mypy issues in experimental module
...
resolve linting, typing, and import issues; update Okta test
2025-09-22 12:56:28 -04:00
Ryan
1bd10bb254
Add base_url param to exa search tool ( #454 )
2025-09-22 12:19:56 -04:00
Vini Brasil
aa8dc9d77f
Add source to LLM Guardrail events ( #3572 )
...
CodeQL Advanced / Analyze (actions) (push) Has been cancelled
CodeQL Advanced / Analyze (python) (push) Has been cancelled
Notify Downstream / notify-downstream (push) Has been cancelled
Update Test Durations / update-durations (3.10) (push) Has been cancelled
Update Test Durations / update-durations (3.11) (push) Has been cancelled
Update Test Durations / update-durations (3.12) (push) Has been cancelled
Update Test Durations / update-durations (3.13) (push) Has been cancelled
Mark stale issues and pull requests / stale (push) Has been cancelled
This commit adds the source attribute to LLM Guardrail event calls to
identify the Lite Agent or Task that executed the guardrail.
2025-09-22 11:58:00 +09:00
Jonathan Hill
9c1096dbdc
fix: Make 'ready' parameter optional in _create_reasoning_plan function ( #3561 )
...
CodeQL Advanced / Analyze (actions) (push) Has been cancelled
CodeQL Advanced / Analyze (python) (push) Has been cancelled
Notify Downstream / notify-downstream (push) Has been cancelled
Update Test Durations / update-durations (3.10) (push) Has been cancelled
Update Test Durations / update-durations (3.11) (push) Has been cancelled
Update Test Durations / update-durations (3.12) (push) Has been cancelled
Update Test Durations / update-durations (3.13) (push) Has been cancelled
Mark stale issues and pull requests / stale (push) Has been cancelled
* fix: Make 'ready' parameter optional in _create_reasoning_plan function
This PR fixes Issue #3466 where the _create_reasoning_plan function was missing
the 'ready' parameter when called by the LLM. The fix makes the 'ready' parameter
optional with a default value of False, which allows the function to be called
with only the 'plan' argument.
Fixes #3466
* Change default value of 'ready' parameter to True
---------
Co-authored-by: João Moura <joaomdmoura@gmail.com >
2025-09-20 22:57:18 -03:00
João Moura
47044450c0
Adding fallback to crew settings ( #3562 )
...
* Adding fallback to crew settings
* fix: resolve ruff and mypy issues in cli/config.py
---------
Co-authored-by: Greyson Lalonde <greyson.r.lalonde@gmail.com >
2025-09-20 22:54:36 -03:00
João Moura
0ee438c39d
fix version ( #3557 )
0.193.2
2025-09-20 17:14:28 -03:00