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

Add video recorder to agent.run() for easier debugging #391

Open
dhuynh95 opened this issue Jun 27, 2024 · 0 comments
Open

Add video recorder to agent.run() for easier debugging #391

dhuynh95 opened this issue Jun 27, 2024 · 0 comments
Labels
Agent good first issue Good for newcomers help wanted Extra attention is needed new feature new feature

Comments

@dhuynh95
Copy link
Collaborator

dhuynh95 commented Jun 27, 2024

I think it's useful to record a video of the agent to better understand what it did a posterior.

I think something like

agent.run(objective=..., record_output="recording.mp4")

could do the job.

It does not seem to be hard.

There are different ways to do it. Playwright seems to be more straightforward to it, while Selenium is more involved.
Here are the quick feedback from OpenAI on the topic.

I guess having methods start_recording and stop_recording in our AbstractDriver and having driver specific implem should do the trick.

@dhuynh95 dhuynh95 added help wanted Extra attention is needed good first issue Good for newcomers new feature new feature Agent labels Jun 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Agent good first issue Good for newcomers help wanted Extra attention is needed new feature new feature
Projects
Status: No status
Development

No branches or pull requests

1 participant