-
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 type of Config.plugins
as AutoGPTPluginTemplate
#4924
Fix type of Config.plugins
as AutoGPTPluginTemplate
#4924
Conversation
✅ Deploy Preview for auto-gpt-docs canceled.
|
Codecov ReportPatch coverage:
Additional details and impacted files@@ Coverage Diff @@
## master #4924 +/- ##
=======================================
Coverage 50.55% 50.56%
=======================================
Files 116 115 -1
Lines 4860 4796 -64
Branches 657 636 -21
=======================================
- Hits 2457 2425 -32
+ Misses 2219 2195 -24
+ Partials 184 176 -8
☔ View full report in Codecov by Sentry. |
You changed AutoGPT's behaviour. The cassettes have been updated and will be merged to the submodule when this Pull Request gets merged. |
You changed AutoGPT's behaviour. The cassettes have been updated and will be merged to the submodule when this Pull Request gets merged. |
…Gravitas#4924) Co-authored-by: James Collins <[email protected]>
Background
Part of #4799
The
plugins
attribute of theConfig
object is incorrectly typed aslist[str]
.Changes
Config.plugins
fromlist[str]
tolist[AutoGPTPluginTemplate]
arbitrary_types_allowed=True
toConfig
plugins
attributeDocumentation
x
Test Plan
CI
PR Quality Checklist