Skip to content
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

[BUG] Replay feature not working as expected. #1776

Open
rtadewald opened this issue Dec 17, 2024 · 0 comments
Open

[BUG] Replay feature not working as expected. #1776

rtadewald opened this issue Dec 17, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@rtadewald
Copy link

Description

I’ve tried to use the replay feature from the CLI, but its behavior didn’t match my expectations.

Here’s the situation: I created a crew with 1 agent and 2 tasks.
When I kicked off the process for the first time, the crewai log-tasks-outputs command provided me with the following IDs:

------
Task 1: 5968129c-bef1-4ed6-82f1-7af01a5a1a17  
Description: Um relatório relevante sobre o produto em questão.  

------  

Task 2: 2b7820e0-22aa-451e-9ed8-4c6375feb46e  
Description: Uma lista com ideias de anúncios do tipo "comparação". Liste apenas a chamada do anúncio. 

The first task is resource-intensive, so I need to run it once and repeatedly reuse its results while debugging/optimizing the second task.

However, when I run:
crewai replay -t 5968129c-bef1-4ed6-82f1-7af01a5a1a17, for example, it executes both Task 1 and Task 2 again.
I can only reuse the results if I pass the ID of Task 2. The problem with this approach is that I’m trying to create multiple parallel tasks in the second step, and the task IDs for the second task keep changing, making the feature unusable for my workflow.

I expected that using Task 1’s ID would allow me to reuse the results of its last run.

Thank you so much in advance for your help!

Steps to Reproduce

None

Expected behavior

Use the first task ID in the replay feature reuses its lasts results.

Screenshots/Code snippets

None

Operating System

macOS Sonoma

Python Version

3.11

crewAI Version

0.86.0

crewAI Tools Version

0.17.0

Virtual Environment

Venv

Evidence

None

Possible Solution

None

Additional context

None

@rtadewald rtadewald added the bug Something isn't working label Dec 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant