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 File Downloading Capabilities #1680

Merged
merged 18 commits into from
Apr 17, 2023

Conversation

sadmuphin
Copy link
Contributor

Background

This command will extend the power and functionality of Auto-GPT by allowing it to download files natively.

Changes

  • Added download_file command to allow Auto-GPT to download files natively, if needed.
  • Added --alow-downloads flag

Documentation

Test Plan

Tested with:

ai_goals:
- 'Download this file: "https://images.hdqwalls.com/wallpapers/cute-kitten-4k-im.jpg"
  and save it locally.'
ai_name: DownloaderGPT
ai_role: Downloads files. AND DOES NOTHING ELSE.

Stress tested with:

ai_goals:
- 'Download this file: "https://download.manjaro.org/kde/22.0.5/manjaro-kde-22.0.5-230316-linux61.iso" and save it locally'
ai_name: DownloaderGPT
ai_role: Downloads files. AND DOES NOTHING ELSE.

PR Quality Checklist

  • My pull request is atomic and focuses on a single change.
  • I have thoroughly tested my changes with multiple different prompts.
  • I have considered potential risks and mitigations for my changes.
  • I have documented my changes clearly and comprehensively.
  • I have not snuck in any "extra" small tweaks changes

@sadmuphin sadmuphin changed the title Add File Downloading Capabilities #1581 Add File Downloading Capabilities Apr 15, 2023
@sadmuphin
Copy link
Contributor Author

@nponeccop @richbeales Can you please review this, just to make sure everything's in order. Cheers.

@BillSchumacher
Copy link
Contributor

LGTM

autogpt/prompt.py Outdated Show resolved Hide resolved
@nponeccop nponeccop added the B7 label Apr 16, 2023
nponeccop
nponeccop previously approved these changes Apr 16, 2023
nponeccop
nponeccop previously approved these changes Apr 16, 2023
@p-i- p-i- merged commit 9589334 into Significant-Gravitas:master Apr 17, 2023
@nponeccop nponeccop mentioned this pull request Apr 17, 2023
1 task
laixiao pushed a commit to laixiao/Auto-GPT-code that referenced this pull request Apr 18, 2023
* Added 'download_file' command

* Added util and fixed spinner

* Fixed comma and added autogpt/auto_gpt_workspace to .gitignore

* Fix linter issues

* Fix more linter issues

* Fix Lint Issues

* Added 'download_file' command

* Added util and fixed spinner

* Fixed comma and added autogpt/auto_gpt_workspace to .gitignore

* Fix linter issues

* Fix more linter issues

* Conditionally add the 'download_file' prompt

* Update args.py

* Removed Duplicate Prompt

* Switched to using path_in_workspace function
sindlinger pushed a commit to Orgsindlinger/Auto-GPT-WebUI that referenced this pull request Sep 25, 2024
* Added 'download_file' command

* Added util and fixed spinner

* Fixed comma and added autogpt/auto_gpt_workspace to .gitignore

* Fix linter issues

* Fix more linter issues

* Fix Lint Issues

* Added 'download_file' command

* Added util and fixed spinner

* Fixed comma and added autogpt/auto_gpt_workspace to .gitignore

* Fix linter issues

* Fix more linter issues

* Conditionally add the 'download_file' prompt

* Update args.py

* Removed Duplicate Prompt

* Switched to using path_in_workspace function
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants