AI-in-Hand / platform

AI Agent Automation Platform: Rapidly prototype, test, and deploy Multi-Agent Systems from your browser.
https://platform.ainhand.com
GNU Affero General Public License v3.0
27 stars 8 forks source link

Sweep: Use S3 storage instead of /data folder #109

Closed sweep-ai[bot] closed 4 months ago

sweep-ai[bot] commented 4 months ago

Description

This pull request modifies the File class within the write_and_save_program.py module to change the file storage mechanism from saving files locally in the /data folder to uploading them to an AWS S3 bucket. This change involves integrating AWS S3 client via boto3 and handling credentials securely.

Summary

Fixes #108.


πŸŽ‰ Latest improvements to Sweep:
  • New dashboard launched for real-time tracking of Sweep issues, covering all stages from search to coding.
  • Integration of OpenAI's latest Assistant API for more efficient and reliable code planning and editing, improving speed by 3x.
  • Use the GitHub issues extension for creating Sweep issues directly from your editor.

πŸ’‘ To get Sweep to edit this pull request, you can:

This is an automated message generated by Sweep AI.

sweep-ai[bot] commented 4 months ago

Rollback Files For Sweep

This is an automated message generated by Sweep AI.

bonk1t commented 4 months ago

in backend/custom_skills/write_and_save_program.py, line bucket_name = "my-bucket": use user_variable_manager.get_by_key("AWS_BUCKET_NAME") also update the tests in tests/unit/custom_skills/test_write_and_save_program.py to be up-to-date with the updated Tool code

sweep-ai[bot] commented 4 months ago

❌ Failed to make changes:

The exception message is:not enough values to unpack (expected 4, got 3)

The stack trace is:Traceback (most recent call last): File "/app/sweepai/handlers/on_comment.py", line 370, in on_comment modify_files_dict, changesmade, , file_change_requests = handle_file_change_requests( ValueError: not enough values to unpack (expected 4, got 3)

Please join our Discourse to report this issue.

This is an automated message generated by Sweep AI.