-
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
refactor(backend): Make block fields consistently use SchemaField #8360
Conversation
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
Background
Currently, there are a lot of ways to define a field:
The best way to define a field is to use the custom
SchemaField
which will allow us defining description, placeholder, and default values.Changes 🏗️
Make all fields use SchemaField. And add check to prevent field defined without a SchemaField.
Testing 🔍
Note
Only for the new autogpt platform, currently in autogpt_platform/