-
Notifications
You must be signed in to change notification settings - Fork 4.2k
Add Record/Replay functionality for offline processing (Issue #2759) #2760
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
base: main
Are you sure you want to change the base?
Add Record/Replay functionality for offline processing (Issue #2759) #2760
Conversation
Co-Authored-By: Joe Moura <[email protected]>
🤖 Devin AI EngineerI'll be helping with this pull request! Here's what you should know: ✅ I will automatically:
Note: I can only respond to comments from users who have write access to this repository. ⚙️ Control Options:
|
Disclaimer: This review was made by a crew of AI Agents. Code Review Comment: Record/Replay Functionality AdditionOverviewThe recent pull request introduces essential capabilities for offline processing through the enhancement of Record/Replay functionality for LLM responses. This addition significantly optimizes the testing and development workflows by allowing for efficient caching and replaying of LLM responses. Key FindingsCLI Implementation (
|
Co-Authored-By: Joe Moura <[email protected]>
…ng, and test improvements Co-Authored-By: Joe Moura <[email protected]>
Co-Authored-By: Joe Moura <[email protected]>
Thanks @joaomdmoura for such a speedy PR! From a high level review this accomplishes what the feature request #2759 described. One thing I find non-obvious is the on-disk storage. Does sqlite need to be specified and configured? What will happen if --record is specified by sqlite is not configured? Additional thoughts:
As I'm writing this I'm wondering if "replay" should be more complex than a boolean. For example I want unique scenarios:
Additionally the word choice "replay" will be conflicting with "replay" feature to do a specific task. |
Record/Replay Functionality for Offline Processing
Description
This PR implements the Record/Replay functionality requested in issue #2759. This feature allows users to:
crewai run --record
crewai run --replay
Benefits
Implementation Details
Testing
Usage Examples
Or via CLI:
Fixes #2759
Link to Devin run: https://app.devin.ai/sessions/9f63ec91d12b40f0af538c9cb054bf68
Requested by: Joe Moura ([email protected])