Commit Graph

4 Commits

Author SHA1 Message Date
Devin AI
89fcd2a5b4 Fix CrewStructuredTool invoke() method bugs
- Fix RuntimeError from asyncio.run() in nested event loops
- Fix double execution of sync functions
- Fix inconsistent coroutine handling
- Add comprehensive tests for all scenarios
- Properly detect event loop context to avoid asyncio.run() conflicts

Fixes #3447

Co-Authored-By: João <joao@crewai.com>
2025-09-04 08:43:43 +00:00
Lucas Gomide
5c51349a85 Support async tool executions (#2983)
* test: fix structured tool tests

No tests were being executed from this file

* feat: support to run async tool

Some Tool requires async execution. This commit allow us to collect tool result from coroutines

* docs: add docs about asynchronous tool support
2025-06-10 12:17:06 -04:00
João Moura
7272fd15ac Preparing new version (#1845)
Some checks failed
Mark stale issues and pull requests / stale (push) Has been cancelled
* Preparing new version
2025-01-03 21:49:55 -03: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