lorenzejay
0260fbb6f6
string literal returns
2025-12-27 12:16:13 -08:00
lorenzejay
b95f97fcaa
string literal returns
2025-12-27 12:13:54 -08:00
lorenzejay
3dfe63f556
Enhance concurrency control in CrewAgentExecutorFlow by introducing a threading lock to prevent concurrent executions. This change ensures that the executor instance cannot be invoked while already running, improving stability and reliability during flow execution.
2025-12-27 12:04:59 -08:00
lorenzejay
2e938233be
address i18n
2025-12-26 13:27:35 -08:00
lorenzejay
2a01c31d52
dropped usage of printer here for rich console and dropped non-added value logging
2025-12-26 13:11:42 -08:00
lorenzejay
0e80c370e6
updating name
2025-12-26 12:57:14 -08:00
lorenzejay
1b98d1dfb3
Merge branch 'lorenze/agent-executor-flow-pattern' of github.com:crewAIInc/crewAI into lorenze/agent-executor-flow-pattern
2025-12-26 12:51:50 -08:00
lorenzejay
1be77d83b1
Merge branch 'main' of github.com:crewAIInc/crewAI into lorenze/agent-executor-flow-pattern
2025-12-26 12:51:36 -08:00
João Moura
c73b36a4c5
Adding HITL for Flows ( #4143 )
...
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
* feat: introduce human feedback events and decorator for flow methods
- Added HumanFeedbackRequestedEvent and HumanFeedbackReceivedEvent classes to handle human feedback interactions within flows.
- Implemented the @human_feedback decorator to facilitate human-in-the-loop workflows, allowing for feedback collection and routing based on responses.
- Enhanced Flow class to store human feedback history and manage feedback outcomes.
- Updated flow wrappers to preserve attributes from methods decorated with @human_feedback.
- Added integration and unit tests for the new human feedback functionality, ensuring proper validation and routing behavior.
* adding deployment docs
* New docs
* fix printer
* wrong change
* Adding Async Support
feat: enhance human feedback support in flows
- Updated the @human_feedback decorator to use 'message' parameter instead of 'request' for clarity.
- Introduced new FlowPausedEvent and MethodExecutionPausedEvent to handle flow and method pauses during human feedback.
- Added ConsoleProvider for synchronous feedback collection and integrated async feedback capabilities.
- Implemented SQLite persistence for managing pending feedback context.
- Expanded documentation to include examples of async human feedback usage and best practices.
* linter
* fix
* migrating off printer
* updating docs
* new tests
* doc update
2025-12-25 21:04:10 -03:00
Lucas Gomide
0c020991c4
docs: fix wrong trigger name in sample docs ( #4147 )
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
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
2025-12-23 08:41:51 -05:00
Heitor Carvalho
be70a04153
fix: correct error fetching for workos login polling ( #4124 )
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
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
2025-12-19 20:00:26 -03:00
Greyson LaLonde
0c359f4df8
feat: bump versions to 1.7.2
CodeQL Advanced / Analyze (actions) (push) Has been cancelled
CodeQL Advanced / Analyze (python) (push) Has been cancelled
Notify Downstream / notify-downstream (push) Has been cancelled
1.7.2
2025-12-19 15:47:00 -05:00
Lucas Gomide
fe288dbe73
Resolving some connection issues ( #4129 )
...
* fix: use CREWAI_PLUS_URL env var in precedence over PlusAPI configured value
* feat: bypass TLS certificate verification when calling platform
* test: fix test
2025-12-19 10:15:20 -05:00
Heitor Carvalho
dc63bc2319
chore: remove CREWAI_BASE_URL and fetch url from settings instead
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-12-18 15:41:38 -03:00
Greyson LaLonde
8d0effafec
chore: add commitizen pre-commit hook
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-12-17 15:49:24 -05:00
Greyson LaLonde
14038ca3fa
Merge branch 'main' into lorenze/agent-executor-flow-pattern
2025-12-17 09:14:29 -05:00
Greyson LaLonde
1cdbe79b34
chore: add deployment action, trigger for releases
2025-12-17 08:40:14 -05:00
Lorenze Jay
84328d9311
fixed api-reference/status docs page ( #4109 )
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-16 15:31:30 -08:00
Lorenze Jay
e4a7db8fbe
Merge branch 'main' into lorenze/agent-executor-flow-pattern
2025-12-16 10:08:56 -08:00
Lorenze Jay
88d3c0fa97
feat: bump versions to 1.7.1 ( #4092 )
...
CodeQL Advanced / Analyze (actions) (push) Has been cancelled
CodeQL Advanced / Analyze (python) (push) Has been cancelled
Notify Downstream / notify-downstream (push) Has been cancelled
* feat: bump versions to 1.7.1
* bump projects
1.7.1
2025-12-15 21:51:53 -08:00
Matt Aitchison
75ff7dce0c
feat: add --no-commit flag to bump command ( #4087 )
...
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
Allows updating version files without creating a commit, branch, or PR.
2025-12-15 15:32:37 -06:00
Lorenze Jay
a6695b2423
Merge branch 'main' into lorenze/agent-executor-flow-pattern
2025-12-12 11:34:45 -08:00
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
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
- 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 )
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-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
2b6d3359cc
Merge branch 'main' into lorenze/agent-executor-flow-pattern
2025-12-11 10:34:04 -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
Lorenze Jay
65b3770cda
Merge branch 'main' into lorenze/agent-executor-flow-pattern
2025-12-10 14:15:41 -08: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
lorenzejay
563280cc9b
refactor: reorganize agent executor imports and introduce CrewAgentExecutorFlow
...
- Removed the old import of CrewAgentExecutorFlow and replaced it with the new import from the experimental module.
- Updated relevant references in the codebase to ensure compatibility with the new structure.
- Enhanced the organization of imports in core.py and base_agent.py for better clarity and maintainability.
2025-12-10 09:40:00 -08:00
lorenzejay
e70fbb8898
test: enhance agent executor creation and stop word assertions
...
- Added calls to create_agent_executor in multiple test cases to ensure proper agent execution setup.
- Updated assertions for stop words in the agent tests to remove unnecessary checks and improve clarity.
- Ensured consistency in task handling by invoking create_agent_executor with the appropriate task parameter.
2025-12-10 09:16:21 -08:00
lorenzejay
d438ea1fdd
drop dupllicate
2025-12-09 17:27:29 -08:00
lorenzejay
f12f34d205
refactor: update dependency markers in uv.lock for platform compatibility
...
- Enhanced dependency markers for , , , and others to ensure compatibility across different platforms (Linux, Darwin, and architecture-specific conditions).
- Removed unnecessary event emission in the class during kickoff.
- Cleaned up commented-out code in the class for better readability and maintainability.
2025-12-09 17:24:49 -08:00
lorenzejay
3c75901dbe
fix
2025-12-09 16:56:58 -08:00
lorenzejay
698ffc2e3a
Merge branch 'main' of github.com:crewAIInc/crewAI into lorenze/agent-executor-flow-pattern
2025-12-09 16:55:43 -08: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