AutoGPT
AutoGPT copied to clipboard
OAuth docs updates based on google block changes
Background
Google Auth added a few changes to the base providers that mean the docs and examples need updated. This is a tedious and potentially hazardous process that could be forgotten.
I also found that there were a few missing details for making your own provider that I overlooked due to building the _auth.py for google.
Changes ๐๏ธ
- configures snippets: a method of inserting code from our codebase into the docs
- Swaps many examples to use snippets for auth
- Adds updates that were made because of google auth changes to docs
- Clarifies that types are required for the credential field in a block
- Shows how to add the logos and auth required details to the frontend
Testing ๐
[!NOTE] Only for the new autogpt platform, currently in autogpt_platform/
- Create from scratch and execute an agent with at least 3 blocks
- Import an agent from file upload, and confirm it executes correctly
- Upload agent to marketplace
- Import an agent from marketplace and confirm it executes correctly
- Edit an agent from monitor, and confirm it executes correctly
PR Reviewer Guide ๐
Here are some key observations to aid the review process:
| โฑ๏ธย Estimated effort to review: 4 ๐ต๐ต๐ต๐ตโช |
| ๐งชย No relevant tests |
| ๐ย Security concerns Sensitive information exposure: |
| โกย Recommended focus areas for review Error Handling Security Concern Error Handling |
Deploy Preview for auto-gpt-docs canceled.
| Name | Link |
|---|---|
| Latest commit | 359f7b4724f9cad683f2eb66617a3fe01a732ae2 |
| Latest deploy log | https://app.netlify.com/sites/auto-gpt-docs/deploys/670557e16f35940008166c2e |
@Pwuts lmk what you think and if you like it ill get it to pass the tests
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.
https://deploy-preview-8243--auto-gpt-docs.netlify.app/