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

Fix loading the plugins config #5000

Merged
merged 1 commit into from
Jul 17, 2023
Merged

Conversation

Pwuts
Copy link
Member

@Pwuts Pwuts commented Jul 17, 2023

Background

image
📷 @NeonN3mesis

Changes

  • Do PluginsConfig.load_config after determining config.plugins_config_file

Documentation

x

Test Plan

CI

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.
  • I have run the following commands against my code to ensure it passes our linters:
    black .
    isort .
    mypy
    autoflake --remove-all-unused-imports --recursive --ignore-init-module-imports --ignore-pass-after-docstring autogpt tests --in-place

@netlify
Copy link

netlify bot commented Jul 17, 2023

Deploy Preview for auto-gpt-docs canceled.

Name Link
🔨 Latest commit e91999790e7df56567ee4a4e98ff41481cedc48d
🔍 Latest deploy log https://app.netlify.com/sites/auto-gpt-docs/deploys/64b56f3b1ae2ae0007b0ab51

@Pwuts Pwuts added the bug Something isn't working label Jul 17, 2023
@Pwuts Pwuts added this to the v0.4.5 Release milestone Jul 17, 2023
@Pwuts Pwuts changed the base branch from master to release-v0.4.5 July 17, 2023 16:43
@Pwuts Pwuts force-pushed the fix-load-plugins-config branch from e919997 to 0a40f5c Compare July 17, 2023 16:44
@codecov
Copy link

codecov bot commented Jul 17, 2023

Codecov Report

Patch coverage: 100.00% and project coverage change: -0.06 ⚠️

Comparison is base (376ecf0) 51.00% compared to head (0a40f5c) 50.95%.

Additional details and impacted files
@@                Coverage Diff                 @@
##           release-v0.4.5    #5000      +/-   ##
==================================================
- Coverage           51.00%   50.95%   -0.06%     
==================================================
  Files                 118      118              
  Lines                4884     4885       +1     
  Branches              643      643              
==================================================
- Hits                 2491     2489       -2     
- Misses               2212     2215       +3     
  Partials              181      181              
Impacted Files Coverage Δ
autogpt/config/config.py 80.72% <100.00%> (+0.11%) ⬆️

... and 1 file with indirect coverage changes

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working size/m
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

2 participants