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

Unregister commands incompatible with current config. #4815

Merged
merged 6 commits into from
Jun 27, 2023

Conversation

lc0rp
Copy link
Contributor

@lc0rp lc0rp commented Jun 27, 2023

This commit changes the run_auto_gpt function in main.py
to unregister commands which are ultimately incompatible
with the config and would be disabled when the config was injected.

This way, the LLM and only ever sees commands that can run.

lc0rp added 4 commits June 27, 2023 16:42
This commit changes the `run_auto_gpt` function in `main.py`
to unregister commands which are ultimately incompatible
with the config and would be disabled when the config was injected.

This way, the LLM and only ever sees commands that can run.
@codecov
Copy link

codecov bot commented Jun 27, 2023

Codecov Report

❗ No coverage uploaded for pull request base (release-v0.4.3@ebe1861). Click here to learn what that means.
Patch has no changes to coverable lines.

Additional details and impacted files
@@                Coverage Diff                @@
##             release-v0.4.3    #4815   +/-   ##
=================================================
  Coverage                  ?   70.81%           
=================================================
  Files                     ?       69           
  Lines                     ?     3358           
  Branches                  ?      545           
=================================================
  Hits                      ?     2378           
  Misses                    ?      802           
  Partials                  ?      178           

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

@lc0rp lc0rp merged commit c025132 into Significant-Gravitas:release-v0.4.3 Jun 27, 2023
@lc0rp lc0rp deleted the release-v0.4.3 branch June 27, 2023 18:20
dayofthedave pushed a commit to dayofthedave/Auto-GPT that referenced this pull request Jul 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

1 participant