-
Notifications
You must be signed in to change notification settings - Fork 44.6k
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
fix(agent): Make save_state
behave like save as
#7025
fix(agent): Make save_state
behave like save as
#7025
Conversation
✅ Deploy Preview for auto-gpt-docs canceled.
|
This pull request has conflicts with the base branch, please resolve those so we can evaluate the pull request. |
Conflicts have been resolved! 🎉 A maintainer will review the pull request shortly. |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #7025 +/- ##
==========================================
- Coverage 45.49% 45.44% -0.05%
==========================================
Files 139 139
Lines 6528 6570 +42
Branches 917 924 +7
==========================================
+ Hits 2970 2986 +16
- Misses 3408 3434 +26
Partials 150 150
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! GCS tests pass :)
OPEN-353
This change changes the behavior of saving agent before exiting CLI.
Now when user provides custom id, the state is saved in the new location, and workspace files are copied.
Changes
save_state
to accept optionalsave_as
param, it saves the state and copies all workspace filescopy
toFileStorage
and all its implementationscopy
tests done