New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Task callbacks do not execute #496
Comments
We found an issue on the task callback, it's being fixed and will be available in the next version :D |
Awesome, thank you so much!!!! |
Thank you for using crew, I super appreciate <3 |
I have same problem. Any idea when new version will be avail? |
I have also. |
Been debugging for the last hour if something is wrong with my code since I recently updated the crewAI package. Seems like the last release where task callbacks were working is 0.22.4. |
Hey folks, good catch, we actually fixed this and will cut a new version
with the fix tomorrow
--
João Moura
@joaomdmoura <http://twitter.com/joaomdmoura>
Em seg., 29 de abr. de 2024 às 13:31, Amr Hany Saleh <
***@***.***> escreveu:
… Been debugging for the last hour if something is wrong with my code since
I recently updated the crewAI package. Seems like the last release where
task callbacks were working is 0.22.4.
—
Reply to this email directly, view it on GitHub
<#496 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAFC3NYIPFKCJ4M7NHHMP3TY7ZYWZAVCNFSM6AAAAABGUHJIEGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAOBTGE3TKOJYGE>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
I am building a workflow in which I want a few Tasks to write their outputs to a file. To do this, I am trying to give those Tasks a callback to a function that writes their output to a file. However, the callbacks never seem to be called. I've tried using both functions and lambdas as callbacks, and making the callback raise an exception so it would be really obvious that it did something. However, nothing seems to work.
Any ideas what could be the problem, or how I might be able to debug the flow better? Do callbacks for Tasks just not work yet?
Here's a simple example script which shows what I'm trying to do:
And here is the output. As you can see, it never prints that it's writing the file, and no file is generated:
The text was updated successfully, but these errors were encountered: