Greyson LaLonde
38b0b125d3
feat: use json schema for tool argument serialization
...
Check Documentation Broken Links / Check broken links (push) Has been cancelled
Notify Downstream / notify-downstream (push) Has been cancelled
CodeQL Advanced / Analyze (actions) (push) Has been cancelled
CodeQL Advanced / Analyze (python) (push) Has been cancelled
- Replace Python representation with JsonSchema for tool arguments
- Remove deprecated PydanticSchemaParser in favor of direct schema generation
- Add handling for VAR_POSITIONAL and VAR_KEYWORD parameters
- Improve tool argument schema collection
2025-12-11 15:50:19 -05:00
Vini Brasil
9bd8ad51f7
Add docs for AOP Deploy API ( #4076 )
...
Co-authored-by: Greyson LaLonde <greyson.r.lalonde@gmail.com >
2025-12-11 15:58:17 -03:00
Heitor Carvalho
0632a054ca
chore: display error message from response when tool repository login fails ( #4075 )
Notify Downstream / notify-downstream (push) Has been cancelled
CodeQL Advanced / Analyze (actions) (push) Has been cancelled
CodeQL Advanced / Analyze (python) (push) Has been cancelled
2025-12-11 14:56:00 -03:00
Dragos Ciupureanu
feec6b440e
fix: gracefully terminate the future when executing a task async
...
* fix: gracefully terminate the future when executing a task async
* core: add unit test
---------
Co-authored-by: Greyson LaLonde <greyson.r.lalonde@gmail.com >
2025-12-11 12:03:33 -05:00
Greyson LaLonde
e43c7debbd
fix: add idx for task ordering, tests
2025-12-11 10:18:15 -05:00
Greyson LaLonde
8ef9fe2cab
fix: check platform compat for windows signals
2025-12-11 08:38:19 -05:00
Alex Larionov
807f97114f
fix: set rpm controller timer as daemon to prevent process hang
...
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
Co-authored-by: Greyson LaLonde <greyson.r.lalonde@gmail.com >
2025-12-11 02:59:55 -05:00
Greyson LaLonde
bdafe0fac7
fix: ensure token usage recording, validate response model on stream
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
CodeQL Advanced / Analyze (actions) (push) Has been cancelled
CodeQL Advanced / Analyze (python) (push) Has been cancelled
Notify Downstream / notify-downstream (push) Has been cancelled
Check Documentation Broken Links / Check broken links (push) Has been cancelled
Build uv cache / build-cache (3.13) (push) Has been cancelled
2025-12-10 20:32:10 -05:00
Greyson LaLonde
8e99d490b0
chore: add translated docs for async
...
* chore: add translated docs for async
* chore: add missing pages
2025-12-10 14:17:10 -05:00
Gil Feig
34b909367b
Add docs for the agent handler connector ( #4012 )
...
CodeQL Advanced / Analyze (actions) (push) Has been cancelled
CodeQL Advanced / Analyze (python) (push) Has been cancelled
Check Documentation Broken Links / Check broken links (push) Has been cancelled
Notify Downstream / notify-downstream (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
* Add docs for the agent handler connector
* Fix links
* Update docs
2025-12-09 15:49:52 -08:00
Greyson LaLonde
22684b513e
chore: add docs on native async
Mark stale issues and pull requests / stale (push) Has been cancelled
CodeQL Advanced / Analyze (actions) (push) Has been cancelled
CodeQL Advanced / Analyze (python) (push) Has been cancelled
Check Documentation Broken Links / Check broken links (push) Has been cancelled
Notify Downstream / notify-downstream (push) Has been cancelled
2025-12-08 20:49:18 -05:00
Lorenze Jay
3e3b9df761
feat: bump versions to 1.7.0 ( #4051 )
...
CodeQL Advanced / Analyze (actions) (push) Has been cancelled
CodeQL Advanced / Analyze (python) (push) Has been cancelled
Check Documentation Broken Links / Check broken links (push) Has been cancelled
Notify Downstream / notify-downstream (push) Has been cancelled
* feat: bump versions to 1.7.0
* bump
1.7.0
2025-12-08 16:42:12 -08:00
Greyson LaLonde
177294f588
fix: ensure nonetypes are not passed to otel ( #4052 )
...
* fix: ensure nonetypes are not passed to otel
* fix: ensure attribute is always set in span
2025-12-08 16:27:42 -08:00
Greyson LaLonde
beef712646
fix: ensure token store file ops do not deadlock
...
* fix: ensure token store file ops do not deadlock
* chore: update test method reference
2025-12-08 19:04:21 -05:00
Lorenze Jay
6125b866fd
supporting thinking for anthropic models ( #3978 )
...
* supporting thinking for anthropic models
* drop comments here
* thinking and tool calling support
* fix: properly mock tool use and text block types in Anthropic tests
- Updated the test for the Anthropic tool use conversation flow to include type attributes for mocked ToolUseBlock and text blocks, ensuring accurate simulation of tool interactions during testing.
* feat: add AnthropicThinkingConfig for enhanced thinking capabilities
This update introduces the AnthropicThinkingConfig class to manage thinking parameters for the Anthropic completion model. The LLM and AnthropicCompletion classes have been updated to utilize this new configuration. Additionally, new test cassettes have been added to validate the functionality of thinking blocks across interactions.
2025-12-08 15:34:54 -08:00
Greyson LaLonde
f2f994612c
fix: ensure otel span is closed
Notify Downstream / notify-downstream (push) Has been cancelled
CodeQL Advanced / Analyze (actions) (push) Has been cancelled
CodeQL Advanced / Analyze (python) (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
2025-12-05 13:23:26 -05:00
Greyson LaLonde
7fff2b654c
fix: use HuggingFaceEmbeddingFunction for embeddings, update keys and add tests ( #4005 )
CodeQL Advanced / Analyze (actions) (push) Has been cancelled
CodeQL Advanced / Analyze (python) (push) Has been cancelled
Notify Downstream / notify-downstream (push) Has been cancelled
Check Documentation Broken Links / Check broken links (push) Has been cancelled
Mark stale issues and pull requests / stale (push) Has been cancelled
2025-12-04 15:05:50 -08:00
Greyson LaLonde
34e09162ba
feat: async flow kickoff
...
CodeQL Advanced / Analyze (actions) (push) Has been cancelled
CodeQL Advanced / Analyze (python) (push) Has been cancelled
Notify Downstream / notify-downstream (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
Introduces akickoff alias to flows, improves tool decorator typing, ensures _run backward compatibility, updates docs and docstrings, adds tests, and removes duplicated logic.
2025-12-04 17:08:08 -05:00
Greyson LaLonde
24d1fad7ab
feat: async crew support
...
native async crew execution. Improves tool decorator typing, ensures _run backward compatibility, updates docs and docstrings, adds tests, and removes duplicated logic.
2025-12-04 16:53:19 -05:00
Greyson LaLonde
9b8f31fa07
feat: async task support ( #4024 )
...
* feat: add async support for tools, add async tool tests
* chore: improve tool decorator typing
* fix: ensure _run backward compat
* chore: update docs
* chore: make docstrings a little more readable
* feat: add async execution support to agent executor
* chore: add tests
* feat: add aiosqlite dep; regenerate lockfile
* feat: add async ops to memory feat; create tests
* feat: async knowledge support; add tests
* feat: add async task support
* chore: dry out duplicate logic
2025-12-04 13:34:29 -08:00
Greyson LaLonde
d898d7c02c
feat: async knowledge support ( #4023 )
...
* feat: add async support for tools, add async tool tests
* chore: improve tool decorator typing
* fix: ensure _run backward compat
* chore: update docs
* chore: make docstrings a little more readable
* feat: add async execution support to agent executor
* chore: add tests
* feat: add aiosqlite dep; regenerate lockfile
* feat: add async ops to memory feat; create tests
* feat: async knowledge support; add tests
* chore: regenerate lockfile
2025-12-04 10:27:52 -08:00
Greyson LaLonde
f04c40babf
feat: async memory support
...
Adds async support for tools with tests, async execution in the agent executor, and async operations for memory (with aiosqlite). Improves tool decorator typing, ensures _run backward compatibility, updates docs and docstrings, adds tests, and regenerates lockfiles.
2025-12-04 12:54:49 -05:00
Lorenze Jay
c456e5c5fa
Lorenze/ensure hooks work with lite agents flows ( #3981 )
...
* liteagent support hooks
* wip llm.call hooks work - needs tests for this
* fix tests
* fixed more
* more tool hooks test cassettes
2025-12-04 09:38:39 -08:00
Greyson LaLonde
633e279b51
feat: add async support for tools and agent executor; improve typing and docs
...
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
Introduces async tool support with new tests, adds async execution to the agent executor, improves tool decorator typing, ensures _run backward compatibility, updates docs and docstrings, and adds additional tests.
2025-12-03 20:13:03 -05:00
Greyson LaLonde
a25778974d
feat: a2a extensions API and async agent card caching; fix task propagation & streaming
...
CodeQL Advanced / Analyze (actions) (push) Has been cancelled
CodeQL Advanced / Analyze (python) (push) Has been cancelled
Notify Downstream / notify-downstream (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
Adds initial extensions API (with registry temporarily no-op), introduces aiocache for async caching, ensures reference task IDs propagate correctly, fixes streamed response model handling, updates streaming tests, and regenerates lockfiles.
2025-12-03 16:29:48 -05:00
Greyson LaLonde
09f1ba6956
feat: native async tool support
...
CodeQL Advanced / Analyze (actions) (push) Has been cancelled
CodeQL Advanced / Analyze (python) (push) Has been cancelled
Notify Downstream / notify-downstream (push) Has been cancelled
Check Documentation Broken Links / Check broken links (push) Has been cancelled
Mark stale issues and pull requests / stale (push) Has been cancelled
- add async support for tools
- add async tool tests
- improve tool decorator typing
- fix _run backward compatibility
- update docs and improve readability of docstrings
2025-12-02 16:39:58 -05:00
Greyson LaLonde
20704742e2
feat: async llm support
...
CodeQL Advanced / Analyze (actions) (push) Has been cancelled
CodeQL Advanced / Analyze (python) (push) Has been cancelled
Check Documentation Broken Links / Check broken links (push) Has been cancelled
Notify Downstream / notify-downstream (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
feat: introduce async contract to BaseLLM
feat: add async call support for:
Azure provider
Anthropic provider
OpenAI provider
Gemini provider
Bedrock provider
LiteLLM provider
chore: expand scrubbed header fields (conftest, anthropic, bedrock)
chore: update docs to cover async functionality
chore: update and harden tests to support acall; re-add uri for cassette compatibility
chore: generate missing cassette
fix: ensure acall is non-abstract and set supports_tools = true for supported Anthropic models
chore: improve Bedrock async docstring and general test robustness
2025-12-01 18:56:56 -05:00
Greyson LaLonde
59180e9c9f
fix: ensure supports_tools is true for all supported anthropic models
CodeQL Advanced / Analyze (actions) (push) Has been cancelled
CodeQL Advanced / Analyze (python) (push) Has been cancelled
Notify Downstream / notify-downstream (push) Has been cancelled
2025-12-01 07:21:09 -05:00
Greyson LaLonde
3ce019b07b
chore: pin dependencies in crewai, crewai-tools, devtools
CodeQL Advanced / Analyze (actions) (push) Has been cancelled
CodeQL Advanced / Analyze (python) (push) Has been cancelled
Notify Downstream / notify-downstream (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
2025-11-30 19:51:20 -05:00
Greyson LaLonde
2355ec0733
feat: create sys event types and handler
...
feat: add system event types and handler
chore: add tests and improve signal-related error logging
2025-11-30 17:44:40 -05:00
Greyson LaLonde
c925d2d519
chore: restructure test env, cassettes, and conftest; fix flaky tests
...
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
Mark stale issues and pull requests / stale (push) Has been cancelled
Consolidates pytest config, standardizes env handling, reorganizes cassette layout, removes outdated VCR configs, improves sync with threading.Condition, updates event-waiting logic, ensures cleanup, regenerates Gemini cassettes, and reverts unintended test changes.
2025-11-29 16:55:24 -05:00
Lorenze Jay
bc4e6a3127
feat: bump versions to 1.6.1 ( #3993 )
...
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
* feat: bump versions to 1.6.1
* chore: update crewAI dependency version to 1.6.1 in project templates
1.6.1
2025-11-28 17:57:15 -08:00
Vidit Ostwal
37526c693b
Fixing ChatCompletionsClinet call ( #3910 )
...
* Fixing ChatCompletionsClinet call
* Moving from json-object -> JsonSchemaFormat
* Regex handling
* Adding additionalProperties explicitly
* fix: ensure additionalProperties is recursive
---------
Co-authored-by: Greyson LaLonde <greyson.r.lalonde@gmail.com >
Co-authored-by: Lorenze Jay <63378463+lorenzejay@users.noreply.github.com >
2025-11-28 17:33:53 -08:00
Greyson LaLonde
c59173a762
fix: ensure async methods are executable for annotations
2025-11-28 19:54:40 -05:00
Lorenze Jay
4d8eec96e8
refactor: enhance model validation and provider inference in LLM class ( #3976 )
...
* refactor: enhance model validation and provider inference in LLM class
- Updated the model validation logic to support pattern matching for new models and "latest" versions, improving flexibility for various providers.
- Refactored the `_validate_model_in_constants` method to first check hardcoded constants and then fall back to pattern matching.
- Introduced `_matches_provider_pattern` to streamline provider-specific model checks.
- Enhanced the `_infer_provider_from_model` method to utilize pattern matching for better provider inference.
This refactor aims to improve the extensibility of the LLM class, allowing it to accommodate new models without requiring constant updates to the hardcoded lists.
* feat: add new Anthropic model versions to constants
- Introduced "claude-opus-4-5-20251101" and "claude-opus-4-5" to the AnthropicModels and ANTHROPIC_MODELS lists for enhanced model support.
- Added "anthropic.claude-opus-4-5-20251101-v1:0" to BedrockModels and BEDROCK_MODELS to ensure compatibility with the latest model offerings.
- Updated test cases to ensure proper environment variable handling for model validation, improving robustness in testing scenarios.
* dont infer this way - dropped
2025-11-28 13:54:40 -08:00
Greyson LaLonde
2025a26fc3
fix: ensure parameters in RagTool.add, add typing, tests ( #3979 )
...
Mark stale issues and pull requests / stale (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
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
* fix: ensure parameters in RagTool.add, add typing, tests
* feat: substitute pymupdf for pypdf, better parsing performance
---------
Co-authored-by: Lorenze Jay <63378463+lorenzejay@users.noreply.github.com >
2025-11-26 22:32:43 -08:00
Greyson LaLonde
bed9a3847a
fix: remove invalid param from sse client ( #3980 )
2025-11-26 21:37:55 -08:00
Heitor Carvalho
5239dc9859
fix: erase 'oauth2_extra' setting on 'crewai config reset' command
CodeQL Advanced / Analyze (actions) (push) Has been cancelled
CodeQL Advanced / Analyze (python) (push) Has been cancelled
Notify Downstream / notify-downstream (push) Has been cancelled
2025-11-26 18:43:44 -05:00
Lorenze Jay
52444ad390
feat: bump versions to 1.6.0 ( #3974 )
...
CodeQL Advanced / Analyze (actions) (push) Has been cancelled
CodeQL Advanced / Analyze (python) (push) Has been cancelled
Check Documentation Broken Links / Check broken links (push) Has been cancelled
Notify Downstream / notify-downstream (push) Has been cancelled
Mark stale issues and pull requests / stale (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
* feat: bump versions to 1.6.0
* bump project templates
1.6.0
2025-11-24 17:56:30 -08:00
Greyson LaLonde
f070595e65
fix: ensure custom rag store persist path is set if passed
...
Co-authored-by: Lorenze Jay <63378463+lorenzejay@users.noreply.github.com >
2025-11-24 20:03:57 -05:00
Lorenze Jay
69c5eace2d
Update references from AMP to AOP in documentation ( #3972 )
...
- Changed "AMP" to "AOP" in multiple locations across JSON and MDX files to reflect the correct terminology for the Agent Operations Platform.
- Updated the introduction sections in English, Korean, and Portuguese to ensure consistency in the platform's naming.
2025-11-24 16:43:30 -08:00
Vidit Ostwal
d88ac338d5
Adding drop parameters in ChatCompletionsClient
...
* Adding drop parameters
* Adding test case
* Just some spacing addition
* Adding drop params to maintain consistency
* Changing variable name
---------
Co-authored-by: Greyson LaLonde <greyson.r.lalonde@gmail.com >
2025-11-24 19:16:36 -05:00
Lorenze Jay
4ae8c36815
feat: enhance flow event state management ( #3952 )
...
* feat: enhance flow event state management
- Added `state` attribute to `FlowFinishedEvent` to capture the flow's state as a JSON-serialized dictionary.
- Updated flow event emissions to include the serialized state, improving traceability and debugging capabilities during flow execution.
* fix: improve state serialization in Flow class
- Enhanced the `_copy_and_serialize_state` method to handle exceptions during JSON serialization of Pydantic models, ensuring robustness in state management.
- Updated test assertions to access the state as a dictionary, aligning with the new state structure.
---------
Co-authored-by: Greyson LaLonde <greyson.r.lalonde@gmail.com >
2025-11-24 15:55:49 -08:00
Greyson LaLonde
b049b73f2e
fix: ensure fuzzy returns are more strict, show type warning
2025-11-24 17:35:12 -05:00
Greyson LaLonde
d2b9c54931
fix: re-add openai response_format param, add test
2025-11-24 17:13:20 -05:00
Greyson LaLonde
a928cde6ee
fix: rag tool embeddings config
...
* fix: ensure config is not flattened, add tests
* chore: refactor inits to model_validator
* chore: refactor rag tool config parsing
* chore: add initial docs
* chore: add additional validation aliases for provider env vars
* chore: add solid docs
* chore: move imports to top
* fix: revert circular import
* fix: lazy import qdrant-client
* fix: allow collection name config
* chore: narrow model names for google
* chore: update additional docs
* chore: add backward compat on model name aliases
* chore: add tests for config changes
2025-11-24 16:51:28 -05:00
João Moura
9c84475691
Update AMP to AOP ( #3941 )
...
Co-authored-by: Lorenze Jay <63378463+lorenzejay@users.noreply.github.com >
2025-11-24 13:15:24 -08:00
Greyson LaLonde
f3c5d1e351
feat: add streaming result support to flows and crews
...
* feat: add streaming result support to flows and crews
* docs: add streaming execution documentation and integration tests
2025-11-24 15:43:48 -05:00
Mark McDonald
a978267fa2
feat: Add gemini-3-pro-preview ( #3950 )
...
* Add gemini-3-pro-preview
Also refactors the tool support check for better forward compatibility.
* Add cassette for Gemini 3 Pro
---------
Co-authored-by: Greyson LaLonde <greyson.r.lalonde@gmail.com >
2025-11-24 14:49:29 -05:00
Heitor Carvalho
b759654e7d
feat: support CLI login with Entra ID ( #3943 )
2025-11-24 15:35:59 -03:00